The future of partial builds
Alan Bateman
Alan.Bateman at oracle.com
Tue Sep 11 19:59:55 UTC 2012
On 11/09/2012 19:23, Fredrik Öhrström wrote:
>
> Den tisdagen den 11:e september 2012 skrev Alan Bateman:
>
> So far my experience is that touching native code and re-building
> is super fast, it's on par to executing specific make files in the
> old build (while wearing the appropriate amulet around one's neck
> of course). Touching java classes and re-building takes a long
> time, sometimes 1.5-2 minutes for me, so quite a bit slower than
> running specific make files.
>
>
> Sounds good that native incremental builds works as they should. :-)
> Could you (in build-infra) please test --enable-sjavac and then touch
> java files and do incremental builds,
> and report your experience here.
>
> //Fredrik
With a sjavac config I touched one source file and the incremental build
took 36s so much better. In this case the one class caused 77 classes to
be re-compiled, 10 native files, and 2 shared libraries to be re-linked.
On the other hand, the old make does it in 2s, mostly because it just
re-compiled the 1 class without a care in the world as to who is using it.
-Alan.
More information about the build-dev
mailing list