Parallel builds of IcedTea/OpenJDK

Andrew Haley aph at redhat.com
Mon Apr 14 08:27:00 PDT 2008


Joshua Sumali wrote:
> Andrew John Hughes wrote:
>> The attach patch allows the ALT_PARALLEL_COMPILE_JOBS and
>> HOTSPOT_BUILD_JOBS options to be turned on for an IcedTea build using
>> --with-parallel-jobs=x where x is the number of jobs to use.  This
>> speeds up the build quite a bit on systems with more than one
>> processor.
>>
>> I've tested a full bootstrap with this.  Okay to commit?
>>
>>   
> Out of curiosity, what's a good number to use for x? I have a dual core
> machine at home, if that helps.

Rule of thumb:

If running over NFS, cores *2.
If running locally, cores +1.

Andrew.



More information about the distro-pkg-dev mailing list