[flang] [llvm] [CMake] Fix using precompiled headers with ccache (PR #131397)
    Kajetan Puchalski via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Mar 17 08:05:20 PDT 2025
    
    
  
================
@@ -291,7 +291,7 @@ if(LLVM_CCACHE_BUILD)
       set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ${CCACHE_PROGRAM})
     else()
       if(LLVM_CCACHE_MAXSIZE OR LLVM_CCACHE_DIR OR
-         NOT LLVM_CCACHE_PARAMS MATCHES "CCACHE_CPP2=yes CCACHE_HASHDIR=yes")
+         NOT LLVM_CCACHE_PARAMS MATCHES "CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros")
----------------
mrkajetanp wrote:
Thanks a lot for the help! Do you have any example of how that should be done then? I've never done any software work on or for Windows so I have no idea how that's supposed to go in practice.
https://github.com/llvm/llvm-project/pull/131397
    
    
More information about the llvm-commits
mailing list