mirror of
https://github.com/lifting-bits/remill
synced 2026-06-21 13:56:07 +00:00
Mirror Sleigh's Byte-width Flags (#668)
* add sleigh state * remove bad include * add volatile * dont run tests in docker deploys * remove ccache * Revert "remove ccache" This reverts commit221b70a1bc. * Revert "dont run tests in docker deploys" This reverts commit72229acd6e. * disable packaging in dockerfile * fix block packagingA * fix syntax
This commit is contained in:
+16
-4
@@ -28,6 +28,7 @@ OS_VERSION=
|
||||
ARCH_VERSION=
|
||||
BUILD_FLAGS=
|
||||
CXX_COMMON_VERSION="0.3.1"
|
||||
CREATE_PACKAGES=true
|
||||
|
||||
# There are pre-build versions of various libraries for specific
|
||||
# Ubuntu releases.
|
||||
@@ -275,9 +276,12 @@ function Package
|
||||
cmake --build . \
|
||||
--target install
|
||||
|
||||
cpack -D REMILL_DATA_PATH="${DESTDIR}" \
|
||||
-R ${remill_version} \
|
||||
--config "${SRC_DIR}/packaging/main.cmake"
|
||||
|
||||
if [ "$CREATE_PACKAGES" = true ]; then
|
||||
cpack -D REMILL_DATA_PATH="${DESTDIR}" \
|
||||
-R ${remill_version} \
|
||||
--config "${SRC_DIR}/packaging/main.cmake"
|
||||
fi
|
||||
) || return $?
|
||||
|
||||
return $?
|
||||
@@ -366,6 +370,14 @@ function main
|
||||
shift # past argument
|
||||
;;
|
||||
|
||||
# Disable packages
|
||||
--disable-package)
|
||||
CREATE_PACKAGES=false
|
||||
echo "[+] Disabled building packages"
|
||||
shift # past argument
|
||||
;;
|
||||
|
||||
|
||||
# Make the build type to be a debug build.
|
||||
--debug)
|
||||
BUILD_FLAGS="${BUILD_FLAGS} -DCMAKE_BUILD_TYPE=Debug"
|
||||
@@ -407,7 +419,7 @@ function main
|
||||
mkdir -p "${BUILD_DIR}"
|
||||
cd "${BUILD_DIR}" || exit 1
|
||||
|
||||
if ! (DownloadLibraries && Configure && Build && Package); then
|
||||
if ! (DownloadLibraries && Configure && Build && Package ); then
|
||||
echo "[x] Build aborted."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user