[flang-commits] [flang] [llvm] [flang] Use precompiled headers in Frontend, Lower, Parser, Semantics and Evaluate (PR #131137)

Michael Kruse via flang-commits flang-commits at lists.llvm.org
Tue Apr 29 08:33:29 PDT 2025


================
@@ -286,6 +286,9 @@ if(LLVM_CCACHE_BUILD)
       endif()
       set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ${CCACHE_PROGRAM})
     else()
+      # Until a way to reliably configure ccache on Windows is found,
+      # disable precompiled headers for Windows + ccache builds
+      set(CMAKE_DISABLE_PRECOMPILE_HEADERS "ON")
----------------
Meinersbur wrote:

Consider emitting a message informing the user if their `CMAKE_DISABLE_PRECOMPILE_HEADERS=OFF` setting was overwritten.

https://github.com/llvm/llvm-project/pull/131137


More information about the flang-commits mailing list