RFR: JDK-8057537: Serialize reconfigure and fix make clean-foo foo

Erik Joelsson erik.joelsson at oracle.com
Thu Sep 4 09:12:16 UTC 2014


Hello David,

I hear your pain and when reading this got to thinking that separating 
clean and reconfigure targets shouldn't be that hard. I came up with 
this solution:

Bug: https://bugs.openjdk.java.net/browse/JDK-8057537
Webrev: http://cr.openjdk.java.net/~erikj/8057537/webrev.root.01/

It separates the clean and reconfigure targets from the rest in the root 
Makefile and runs them separately with -j1. This also solves the problem 
of those targets not working well with the timer and summaries.

/Erik

On 2014-09-04 05:38, David Holmes wrote:
> I naively assumed this would work:
>
> make reconfigure images
>
> There should be a way to serialize the top-level set of targets 
> without serializing all the sub-targets. That way this would work, as 
> would:
>
> make clean-foo foo
>
> which is something I (used to!) use a lot.
>
> And while I'm still complaining about the parallel activity the build 
> logs truly are a mess that needs to be fixed. In particular finding 
> build failures is now quite a challenge. :(
>
> Cheers,
> David




More information about the build-dev mailing list