We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd8c8cc commit 6edd33bCopy full SHA for 6edd33b
llvm/CMakeLists.txt
@@ -286,6 +286,9 @@ if(LLVM_CCACHE_BUILD)
286
endif()
287
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ${CCACHE_PROGRAM})
288
else()
289
+ # Until a way to reliably configure ccache on Windows is found,
290
+ # disable precompiled headers for Windows + ccache builds
291
+ set(CMAKE_DISABLE_PRECOMPILE_HEADERS "ON")
292
if(LLVM_CCACHE_MAXSIZE OR LLVM_CCACHE_DIR OR
293
NOT LLVM_CCACHE_PARAMS MATCHES "CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros")
294
message(FATAL_ERROR "Ccache configuration through CMake is not supported on Windows. Please use environment variables.")
0 commit comments