mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-23 21:34:18 +08:00
Unconditionally disable unified builds
This commit is contained in:
parent
89bddfef81
commit
c6fc696324
@ -125,6 +125,7 @@ COOKBOOK_CMAKE_FLAGS+=(
|
||||
-DENABLE_RELEASE_LOG=ON
|
||||
-DENABLE_SPEECH_SYNTHESIS=OFF
|
||||
-DENABLE_SPELLCHECK=OFF
|
||||
-DENABLE_UNIFIED_BUILDS=OFF
|
||||
-DENABLE_WEB_AUDIO=OFF
|
||||
-DENABLE_WEB_CODECS=OFF
|
||||
-DENABLE_VIDEO=OFF
|
||||
@ -146,11 +147,6 @@ COOKBOOK_CMAKE_FLAGS+=(
|
||||
-DUSE_WOFF2=OFF
|
||||
)
|
||||
|
||||
if (( $(free -b | awk '/^Mem:/ {print $2}') < "$COOKBOOK_MAKE_JOBS" * 4 * 1024 * 1024 * 1024 )); then
|
||||
echo "Disabling unified build as RAM is not big enough"
|
||||
COOKBOOK_CMAKE_FLAGS+=( -DENABLE_UNIFIED_BUILDS=OFF )
|
||||
fi
|
||||
|
||||
cookbook_cmake \
|
||||
-DCMAKE_CXX_STANDARD_LIBRARIES="${LIBS[*]}"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user