fastest way to rebuild hotspot?

Niklas Wirstrom niwi at sics.se
Wed Dec 3 04:58:57 PST 2008


Andrew John Hughes wrote:
> 2008/12/3 Andrew Haley <aph at redhat.com>:
>   
>> Andrew John Hughes wrote:
>>     
>>> 2008/12/3 Andrew Haley <aph at redhat.com>:
>>>       
>>>> Niklas Wirstrom wrote:
>>>>
>>>>         
>>>>> What would be the fastest way to rebuild icedtea6, given that I only
>>>>> have modified source code in the openjdk/hotspot/src directory?
>>>>>           
>>>>  rm stamps/icedtea-*ecj.stamp ; make icedtea-against-ecj
>>>>
>>>>
>>>>         
>>> That works for the openjdk-ecj directory.  For openjdk, you'd need:
>>>
>>> rm stamps/icedtea.stamp; make icedtea-against-icedtea
>>>       
>> Isn't that going to be much slower?  I'm presuming the OP just
>> wants to rebuild the VM.
>>
>> Andrew.
>>
>>
>>
>>     
>
> It should be the same, except in the openjdk directory instead of the
> openjdk-ecj directory.
> I'm assuming the OP did a full build initially, as he says he changed
> things in openjdk/hotspot
> not openjdk-ecj/hotspot.  For icedtea-ecj there is also a hotspot
> target which deletes the stamp and rebuilds only HotSpot.
>   
Hi, and thanks for the answers.
Yes, I have already made a full build. Is there any documentation for 
the build process? My understanding is that openjdk-ecj is built first, 
and then openjdk is built using openjdk-ecj build for bootstrapping, and 
that modifications of the hotspot are therefore preferably made in the 
openjdk directory. Is this correct?

/Niklas
 



More information about the distro-pkg-dev mailing list