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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 28 09:35:28 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=235686

--- Comment #11 from Saam Barati <sbarati at apple.com> ---
(In reply to Elliott Williams from comment #10)
> Thank you for the explanation :)
> 
> I could see an argument that this is not a workflow we support in the Xcode
> build, and therefore you should do this locally with your build setting
> overrides, or with a command line invocation like
> 
>     make ... ARGS='OTHER_CPLUSPLUSFLAGS="$(inherited) -gen-cdb-fragment-path
> $(PWD)/compile-commands"'
> 
> That said, if there's no meaningful cost to producing these, and it helps
> everyone who's not editing in Xcode, it seems like a meaningful enhancement
> to me. Alexey, do you feel the same way?

I've been giving Brandon's original patch a test run. It's been super helpful to me.

I do think it's meaningful to improve the xcodebuild for folks not actually using the IDE.

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/20220128/64c5c260/attachment.htm>


More information about the webkit-unassigned mailing list