Bug 278226

Summary: [CMake][REGRESSION(282175@main)] Build failure with CMAKE_EXPORT_COMPILE_COMMANDS=OFF
Product: WebKit Reporter: Adrian Perez <aperez>
Component: CMakeAssignee: 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
Reported 2024-08-16 02:48:44 PDT
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
Adrian Perez
Comment 1 2024-08-16 03:01:09 PDT
EWS
Comment 2 2024-08-16 03:21:07 PDT
Committed 282342@main (eaa25dafe9f9): <https://commits.webkit.org/282342@main> Reviewed commits have been landed. Closing PR #32295 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.