File tree 1 file changed +4
-2
lines changed 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,8 @@ if(LLVM_CCACHE_BUILD)
281
281
# ccache only supports passing options on the command line from version 4.8.0
282
282
# use a workaround with ad-hoc environment variables for older versions
283
283
if (CCACHE_VERSION VERSION_LESS "4.8.0" )
284
- set (LLVM_CCACHE_PARAMS CCACHE_CPP2=yes CCACHE_HASHDIR=yes )
284
+ set (LLVM_CCACHE_PARAMS "CCACHE_CPP2=yes;CCACHE_HASHDIR=yes"
285
+ CACHE STRING "Parameters to pass through to ccache" )
285
286
286
287
set (launcher_params ${LLVM_CCACHE_PARAMS} )
287
288
if (LLVM_CCACHE_MAXSIZE)
@@ -292,7 +293,8 @@ if(LLVM_CCACHE_BUILD)
292
293
endif ()
293
294
set (launcher ${launcher_params} "${CCACHE_PROGRAM} " )
294
295
else ()
295
- set (LLVM_CCACHE_PARAMS run_second_cpp=true hash_dir=true )
296
+ set (LLVM_CCACHE_PARAMS "run_second_cpp=true;hash_dir=true"
297
+ CACHE STRING "Parameters to pass through to ccache" )
296
298
297
299
set (launcher_params ${LLVM_CCACHE_PARAMS} )
298
300
if (LLVM_CCACHE_MAXSIZE)
You can’t perform that action at this time.
0 commit comments