Bug 278226
Summary: | [CMake][REGRESSION(282175@main)] Build failure with CMAKE_EXPORT_COMPILE_COMMANDS=OFF | ||
---|---|---|---|
Product: | WebKit | Reporter: | Adrian Perez <aperez> |
Component: | CMake | Assignee: | Adrian Perez <aperez> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=274909 |
Adrian Perez
Regular, non-developer builds typically keep CMAKE_EXPORT_COMPILE_COMMANDS
disabled. Currently leaving the option disabled produces a build error.
This can be reproduced with the following commands:
% cmake -S. -Bbuild-gtk -DPORT=GTK -GNinja
% ninja -Cbuild-gtk
The error printed is:
ninja: error: 'DeveloperTools/compile_commands.json', needed by 'CMakeFiles/UpdateCompileCommandsSymlink', missing and no known rule to make it
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Adrian Perez
Pull request: https://github.com/WebKit/WebKit/pull/32295
EWS
Committed 282342@main (eaa25dafe9f9): <https://commits.webkit.org/282342@main>
Reviewed commits have been landed. Closing PR #32295 and removing active labels.