[Webkit-unassigned] [Bug 182689] Unified builds broke ycm autocompletion using compilation databases

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 28 02:09:29 PST 2018


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

--- Comment #20 from Carlos Eduardo Ramalho <cadubentzen at gmail.com> ---
(In reply to Yusuke Suzuki from comment #19)
> Interesting! Now I think the good way to fix this issue is adding an option
> disabling unified builds (which makes compile_commands.json expected one).

Hmm indeed! This might really be the way to go. Also, to get the compile_commands.json file one does not need to compile the project, but only "generate" or "configure" it with CMake e.g. with 

`build-webkit --wpe --release --generate-project-only`

If the option to disable Unified Sources were added, I figure someone could simply run e.g.

`build-webkit --wpe --release --generate-project-only --disable-unified-sources`

and copy the compile_commands.json file to project root to enable autocompletion. I think it should be best because then one could reconfigure the project with unified sources and get the 2x compilation speedup still.

-- 
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/20181228/d5bade37/attachment.html>


More information about the webkit-unassigned mailing list