[Webkit-unassigned] [Bug 144488] [cmake] Incremental build issue revealed by r183659

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 5 08:54:17 PDT 2015


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

--- Comment #7 from Brian Burg <burg at cs.washington.edu> ---
(In reply to comment #6)
> I found the problem. 
> 
> http://trac.webkit.org/changeset/182243/trunk/Source/JavaScriptCore/
> CMakeLists.txt changed the path of the generated sources from
> WebKitBuild/Release/DerivedSources/JavaScriptCore to
> WebKitBuild/Release/DerivedSources/JavaScriptCore/inspector , but the old
> InspectorProtocolObjectes.h is left in
> WebKitBuild/Release/DerivedSources/JavaScriptCore and caused incremental
> build issue a month later.
> 
> It isn't a build system bug, I don't think if we can handle this kind of
> situations without adding a sophisticated mechanism to remove stale files.
> 
> Clean build solved the problem, so there is no problem since now.


Interesting, I think I have run into this before when I was modifying generator code for the same file. Maybe as a countermeasure, you can compute a hash of output directories and force a clean build if the hash changes. Not sure that this would be easy, though- isn't the "force clean" part of the builer interface, not CMake?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150505/61c9bea5/attachment.html>


More information about the webkit-unassigned mailing list