This means that setting LLVM_CCACHE_BUILD=ON will no longer work. In order to use ccache, we should now use the upstream CMake support -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache.
So if your build scripts are using LLVM_CCACHE_BUILD you need to update those.
Looking at the buildbots it seems like many bots are using this configuration, so I’ll revert this one for now and hope that this post will cause people to update the configuration to use CMAKE_C/CXX_COMPILER_LAUNCHER instead (which is safe to switch to already now).
I just wasted nontrivial time investigating this before someone pointed me at this post. May I suggest that emitting a deprecation warning as status and/or adding a comment at this point in the code about the deprecation would be the right thing to do?
I’m still regularly using this, I find this extremely convenient to find in the CMakeCache / config and switch.
Right now the motivation to remove this is unclear to me: this does not seem to be a maintenance drag!