[webkit-dev] Incremental unified builds on macOS

Ken Russell kbr at google.com
Tue Jun 25 15:45:13 PDT 2019


Hi,

Building WebKit on macOS, if I modify just one .cpp file, many files are
rebuilt in response - far more than just the single unified source file
which includes that .cpp file. Because of this, incremental rebuilds are on
the order of 5 minutes, which is painful when trying to add logging to
narrow down a bug.

As one example, I added a printf
to Source/WebCore/platform/graphics/cocoa/GraphicsContext3DCocoa.mm and ran:

./Tools/Scripts/build-webkit --debug > build-log.txt

The resulting build log is here:

https://drive.google.com/file/d/1dsFB_Vp731TlfuUOxpRhKpLHfOlxBKvu/view?usp=sharing

There are no files in the repo with modification times in the future.

Does anyone have an idea why this might be happening?

Thanks,

-Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20190625/9be22a30/attachment.html>


More information about the webkit-dev mailing list