1
0
Fork 0

Correctly pass cache arguments to cmake in Jenkins build script

This commit is contained in:
Alexander Harkness 2020-03-29 21:18:19 +01:00
parent 31ace87d28
commit 1e4cf9ce48
No known key found for this signature in database
GPG Key ID: 5187245ADF160B76
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ export CCACHE_CPP2=true
CACHE_ARGS="-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache"
# Build
CXX=$CXXCOMP CC=$CCOMP cmake . -DNO_NATIVE_OPTIMIZATION=1 -DBUILD_TOOLS=1 ${TOOLCHAINFILE} ${COMPILEMODE^^} ${FORCE32^^}
CXX=$CXXCOMP CC=$CCOMP cmake . -DNO_NATIVE_OPTIMIZATION=1 -DBUILD_TOOLS=1 ${CACHE_ARGS} ${TOOLCHAINFILE} ${COMPILEMODE^^} ${FORCE32^^}
make -j 2