mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-14 23:05:33 -04:00
chore: disable benchmarks to speed up builds (and save some space)
This commit is contained in:
parent
33c0b273e9
commit
78ac176b4b
@ -149,7 +149,7 @@ case "-$BUILD_TYPE-" in
|
|||||||
*-release-*)
|
*-release-*)
|
||||||
CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=Release"
|
CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=Release"
|
||||||
if [[ "-$BUILD_TYPE-" != *-minimal-* ]]; then
|
if [[ "-$BUILD_TYPE-" != *-minimal-* ]]; then
|
||||||
CMAKE_ARGS="${CMAKE_ARGS} -DWITH_BENCHMARKS=1"
|
# CMAKE_ARGS="${CMAKE_ARGS} -DWITH_BENCHMARKS=1"
|
||||||
if [[ "-$BUILD_TYPE-" != *-lto-* ]]; then
|
if [[ "-$BUILD_TYPE-" != *-lto-* ]]; then
|
||||||
CMAKE_ARGS="${CMAKE_ARGS} -DWITH_ALL_BENCHMARKS=1"
|
CMAKE_ARGS="${CMAKE_ARGS} -DWITH_ALL_BENCHMARKS=1"
|
||||||
fi
|
fi
|
||||||
@ -163,7 +163,7 @@ case "-$BUILD_TYPE-" in
|
|||||||
*-relsize-*)
|
*-relsize-*)
|
||||||
CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=MinSizeRel"
|
CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=MinSizeRel"
|
||||||
if [[ "-$BUILD_TYPE-" != *-minimal-* ]]; then
|
if [[ "-$BUILD_TYPE-" != *-minimal-* ]]; then
|
||||||
CMAKE_ARGS="${CMAKE_ARGS} -DWITH_BENCHMARKS=1"
|
# CMAKE_ARGS="${CMAKE_ARGS} -DWITH_BENCHMARKS=1"
|
||||||
if [[ "-$BUILD_TYPE-" != *-lto-* ]]; then
|
if [[ "-$BUILD_TYPE-" != *-lto-* ]]; then
|
||||||
CMAKE_ARGS="${CMAKE_ARGS} -DWITH_ALL_BENCHMARKS=1"
|
CMAKE_ARGS="${CMAKE_ARGS} -DWITH_ALL_BENCHMARKS=1"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user