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

David Holmes david.holmes at oracle.com
Thu Sep 4 10:24:08 UTC 2014


That's a big Thumbs Up! from me Erik!

Thank you very much.

David

On 4/09/2014 7:12 PM, Erik Joelsson wrote:
> 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