[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 May 15 09:28:56 PDT 2023


jhuber6 added a comment.

In D147441#4342803 <https://reviews.llvm.org/D147441#4342803>, @jdoerfert wrote:

> This works now? What are the leftover problems?

As I mentioned above. If someone changes something in `CMake` it will regenerate the `compile_commands.json` list. So ideally we'd put a dependency on that file for this action so we auto-merge them. The problem is that this dependency will then fire on the merging itself because we modify the file. So, in its current state this patch will merge the files automatically once at build time, but then won't do it with successive builds.


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