[webkit-dev] Tips to build faster on Mac?

Frédéric Wang fwang at igalia.com
Tue Mar 27 09:07:15 PDT 2018


On 23/03/2018 23:08, Danyao Wang wrote:
> Thanks everyone! I had a chance to try plain "make d -C
> Source/WebCore" today and it's a lot faster. Small changes build under
> a minute, so this is very helpful!
>
> On Fri, Mar 16, 2018 at 12:40 PM, Maciej Stachowiak <mjs at apple.com
> <mailto:mjs at apple.com>> wrote:
>
>
>     You can also just cd to the WebCore directory and type make.
>
>>     On Mar 16, 2018, at 3:24 PM, youenn fablet <youennf at gmail.com
>>     <mailto:youennf at gmail.com>> wrote:
>>
>>     If you have a full build and made changes to WebCore, you might
>>     only need to recompile WebCore. With make for instance, one can do:
>>     make d -C Source/WebCore
>>
>>       Y
>>
>>     On Fri, Mar 16, 2018 at 6:55 AM Danyao Wang <danyao at chromium.org
>>     <mailto:danyao at chromium.org>> wrote:
>>
>>         Thanks Brian for the Xcode UI tip! So far I've always used
>>         build-webkit. I didn't realize there could be a difference.
>>
>>         On Thu, Mar 15, 2018 at 6:01 PM, Brian Burg <bburg at apple.com
>>         <mailto:bburg at apple.com>> wrote:
>>
>>
>>
>>             > On Mar 15, 2018, at 1:58 PM, Danyao Wang
>>             <danyao at chromium.org <mailto:danyao at chromium.org>> wrote:
>>             >
>>             > Hi,
>>             >
>>             > Being new to WebKit development (and also switching
>>             from Linux to Mac), I find my workflow relatively clumsy.
>>             Building on a fresh checkout usually takes me 20+ minutes
>>             even on my 12-core Mac Pro. Fastest incremental builds
>>             are ~2 minutes. This adds a lot to the develop / test /
>>             debug cycle.
>>
>>             These build times seem normal. WebKit is a big project,
>>             and we don’t use CMake/ninja by default when building for
>>             Cocoa ports.
>>
>>             Are you building via build-webkit on the command line? In
>>             my experience, incremental builds are faster via Xcode’s UI.
>>
>>             > I heard the good folks from Igalia working on the GTK
>>             port use icecc. Has anyone used this on Mac? Any other
>>             productivity tips?
>>             >
>>             > Thanks!
>>             > Danyao
>>             > _______________________________________________
>>             > webkit-dev mailing list
>>             > webkit-dev at lists.webkit.org
>>             <mailto:webkit-dev at lists.webkit.org>
>>             > https://lists.webkit.org/mailman/listinfo/webkit-dev
>>             <https://lists.webkit.org/mailman/listinfo/webkit-dev>
>>
>>
>>         _______________________________________________
>>         webkit-dev mailing list
>>         webkit-dev at lists.webkit.org <mailto:webkit-dev at lists.webkit.org>
>>         https://lists.webkit.org/mailman/listinfo/webkit-dev
>>         <https://lists.webkit.org/mailman/listinfo/webkit-dev>
>>
>>     _______________________________________________
>>     webkit-dev mailing list
>>     webkit-dev at lists.webkit.org <mailto:webkit-dev at lists.webkit.org>
>>     https://lists.webkit.org/mailman/listinfo/webkit-dev
>>     <https://lists.webkit.org/mailman/listinfo/webkit-dev>
>
>
>
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev

Hi all,

I see that the make command allows to make incremental builds for macOS.
Does anyone know how to specify that we want to build for the iOS Simulator?

Thanks!

-- 
Frédéric Wang - frederic-wang.fr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20180327/42e92429/attachment.html>


More information about the webkit-dev mailing list