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 commit 221b70a1bc.

* Revert "dont run tests in docker deploys"

This reverts commit 72229acd6e.

* disable packaging in dockerfile

* fix block packagingA

* fix syntax
This commit is contained in:
2over12
2023-07-10 12:07:42 -04:00
committed by GitHub
parent 047c628a84
commit a6abbb818c
5 changed files with 78 additions and 8 deletions
+16 -4
View File
@@ -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