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

Joseph Huber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 3 06:34:52 PDT 2023


jhuber6 added a comment.

Unfortunately this does not work in every case I'd like. When the main CMake gets updated it will overwrite the `compile_commands.json` without touching the one in `runtimes/`. I can't make the command depend on the main `compile_commands.json` because it would create a circular dependency as it is the file we are writing to. Let me know if there's a hook I can use to get past that.


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