mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-15 13:35:08 +00:00
fix(CI): disable mac PCH to allow more caching (#5427)
* Update ci-compile.sh * Update ci-compile.sh * Update ci-compile.sh
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
export CCACHE_CPP2=true
|
export CCACHE_CPP2=true
|
||||||
export CCACHE_MAXSIZE='2G'
|
export CCACHE_MAXSIZE='1G'
|
||||||
export CCACHE_COMPRESS=9
|
export CCACHE_COMPRESS=9
|
||||||
ccache -s
|
ccache -s
|
||||||
|
|
||||||
@@ -23,6 +23,8 @@ time cmake ../../../ \
|
|||||||
-DCMAKE_CXX_FLAGS="-Werror" \
|
-DCMAKE_CXX_FLAGS="-Werror" \
|
||||||
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
|
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
|
||||||
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
|
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
|
||||||
|
-DUSE_SCRIPTPCH=0 \
|
||||||
|
-DUSE_COREPCH=0 \
|
||||||
;
|
;
|
||||||
|
|
||||||
time make -j $(($(sysctl -n hw.ncpu ) + 2))
|
time make -j $(($(sysctl -n hw.ncpu ) + 2))
|
||||||
|
|||||||
Reference in New Issue
Block a user