From 1e4cf9ce48fe17e740c067acd5eca254521ca21f Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Sun, 29 Mar 2020 21:18:19 +0100 Subject: Correctly pass cache arguments to cmake in Jenkins build script --- jenkinsbuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkinsbuild.sh b/jenkinsbuild.sh index 731ccfa03..9be52557d 100755 --- a/jenkinsbuild.sh +++ b/jenkinsbuild.sh @@ -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 -- cgit v1.2.3