[PATCH] D147441: [CMake] Attempt to merge runtimes and projects compilation databases

Joseph Huber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 12 13:48:24 PDT 2023


jhuber6 added a comment.

In D147441#4338295 <https://reviews.llvm.org/D147441#4338295>, @tianshilei1992 wrote:

> I wonder if `clang` is not built yet, what will be used (as for compiler) in the `runtimes` compilation database?

I thought the whole point of the runtimes build was to manually set the compiler to the newly built `clang` and re-run CMake in a separate directory. The main problem I had with this patch was the I can't detect changes to the base `compile_commnads` because we write to it when we update it. I'm not sure if there's a good way to tell CMake "This should be updated if anyone but this function changes the file".


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147441/new/

https://reviews.llvm.org/D147441



More information about the llvm-commits mailing list