diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-03-28 22:48:24 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-03-29 23:46:43 +0800 |
commit | d0faa85df5a5d253a4625d45313cf5e9277e6cd2 (patch) | |
tree | e9419233898176c7065972e565607de93b000c3b /build-aux | |
parent | CI: Removes CMakeCache.txt between builds. (diff) | |
download | xz-d0faa85df5a5d253a4625d45313cf5e9277e6cd2.tar.xz |
CI: Tests for disabling threading on CMake builds.
Diffstat (limited to 'build-aux')
-rwxr-xr-x | build-aux/ci_build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/ci_build.sh b/build-aux/ci_build.sh index 7fb180c2..724e66da 100755 --- a/build-aux/ci_build.sh +++ b/build-aux/ci_build.sh @@ -202,13 +202,13 @@ then make ;; cmake) - # The CMake build currently does not support disabling - # threading. cd "$DEST_DIR" add_to_filter_list "$BCJ" ";x86;powerpc;ia64;arm;armthumb;arm64;sparc" add_to_filter_list "$DELTA" ";delta" + add_extra_option "$THREADS" "-DENABLE_THREADS=ON" "-DENABLE_THREADS=OFF" + # Disable MicroLZMA if encoders are not configured. add_extra_option "$ENCODERS" "-DENCODERS=$FILTER_LIST" "-DENCODERS= -DMICROLZMA_ENCODER=OFF" |