[Webkit-unassigned] [Bug 235686] Generate compile_commands.json on macOS Builds

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 29 16:43:28 PST 2022


--- Comment #12 from Alexey Proskuryakov <ap at webkit.org> ---
This should probably be added to DebugRelease.xcconfig, not to Base.xcconfig, to avoid unnecessarily changing production builds.

Putting the directory to the root of WebKitBuild is also not great because it's a location shared between all build styles and platforms - there is a reason why everything goes into subdirectories like Release-iphonesimulator there. But can clangd deal with switching between build styles?

I found a guide using cdb where it's recommended to disable precompiled headers to make it work better, <https://www.barebones.com/support/bbedit/lsp-notes.html#caveats>. This of course would be unacceptable to do when generating it as part of normal builds. Plus there are some other flags which I'm not sure if they change anything for WebKit. How bad is the impact of generating cdb with precompiled headers?

> If we do decide to do it by default, I think we should measure impact on compile time first.


You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220130/d1b3b664/attachment.htm>

More information about the webkit-unassigned mailing list