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:
parent
5c20cbde9d
commit
0b13827e3c
1 changed files with 3 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
export CCACHE_CPP2=true
|
||||
export CCACHE_MAXSIZE='2G'
|
||||
export CCACHE_MAXSIZE='1G'
|
||||
export CCACHE_COMPRESS=9
|
||||
ccache -s
|
||||
|
||||
|
|
@ -23,6 +23,8 @@ time cmake ../../../ \
|
|||
-DCMAKE_CXX_FLAGS="-Werror" \
|
||||
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
|
||||
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
|
||||
-DUSE_SCRIPTPCH=0 \
|
||||
-DUSE_COREPCH=0 \
|
||||
;
|
||||
|
||||
time make -j $(($(sysctl -n hw.ncpu ) + 2))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue