File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 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)
281281 # ccache only supports passing options on the command line from version 4.8.0
282282 # use a workaround with ad-hoc environment variables for older versions
283283 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" )
285286
286287 set (launcher_params ${LLVM_CCACHE_PARAMS} )
287288 if (LLVM_CCACHE_MAXSIZE)
@@ -292,7 +293,8 @@ if(LLVM_CCACHE_BUILD)
292293 endif ()
293294 set (launcher ${launcher_params} "${CCACHE_PROGRAM} " )
294295 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" )
296298
297299 set (launcher_params ${LLVM_CCACHE_PARAMS} )
298300 if (LLVM_CCACHE_MAXSIZE)
You can’t perform that action at this time.
0 commit comments