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 @@ -144,7 +144,10 @@ if(LLVM_CCACHE_BUILD)
144
144
if (CCACHE_PROGRAM)
145
145
set (LLVM_CCACHE_MAXSIZE "" CACHE STRING "Size of ccache" )
146
146
set (LLVM_CCACHE_DIR "" CACHE STRING "Directory to keep ccached data" )
147
- set (CCACHE_PROGRAM "CCACHE_CPP2=yes CCACHE_HASHDIR=yes ${CCACHE_PROGRAM} " )
147
+ set (LLVM_CCACHE_PARAMS "CCACHE_CPP2=yes CCACHE_HASHDIR=yes"
148
+ CACHE STRING "Parameters to pass through to ccache" )
149
+
150
+ set (CCACHE_PROGRAM "${LLVM_CCACHE_PARAMS} ${CCACHE_PROGRAM} " )
148
151
if (LLVM_CCACHE_MAXSIZE)
149
152
set (CCACHE_PROGRAM "CCACHE_MAXSIZE=${LLVM_CCACHE_MAXSIZE} ${CCACHE_PROGRAM} " )
150
153
endif ()
@@ -1022,4 +1025,3 @@ endif()
1022
1025
if (MSVC AND CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows" )
1023
1026
include (InstallRequiredSystemLibraries)
1024
1027
endif ()
1025
-
You can’t perform that action at this time.
0 commit comments