Partial rebuilds?

David Holmes david.holmes at oracle.com
Thu Jun 28 14:59:33 PDT 2012


On 29/06/2012 7:35 AM, Kelly O'Hair wrote:
> make all
> <fiddle with something>
> make -C hotspot/make clean
> make all
>
> ???

That doesn't actually work for hotspot. It doesn't seem know about the 
settings in spec.gmk if you do "-C hotspot/make <some target>".

Right now if I want to do a full or partial build I invoke make in the 
<repo>/make directory. With the new build a top-level make is done by 
going to the <configured-output-directory> and running make. So in the 
new build, assuming -C hotspot/make worked I have to determine whether I 
need to be in the output directory or the source directory to invoke 
make. :(

David

>
> -kto
>
> On Jun 27, 2012, at 10:09 PM, David Holmes wrote:
>
>> With the old build I can do:
>>
>> make all
>> <fiddle with something>
>> make -C hotspot/make clean product
>>
>> and so only rebuild hotspot.
>>
>> I don't see a way to do that with the new build. Is there one?
>>
>> Thanks,
>> David
>



More information about the build-infra-dev mailing list