[sldev] Re: shared objects output during standalone build
Jason Giglio
gigstaggart at gmail.com
Tue Jul 17 06:47:42 PDT 2007
Dana Fagerstrom wrote:
> Paul,
>
> One thing many people don't realize is that scons supports the -j option
> just like make/dmake. That option instructs scons to perform multiple
> compiles. On a "fast" system a "-j 2" or even "-j 4" will greatly
> decrease build time.
>
> On my Ultra 40 (2 AMD dual core CPUs) I run with "-j 8" and a complete
> build plus packaging is completed in less than an hour.
I've found that on my Quad Core single chip, it's best to just stay with
the actual number of cores you have, i.e. -j 4 is fastest.
This could be because of disk bottlenecks.
In any case with -j 4 on Scons I can build the client from scratch in 11
minutes, with -j 5 it takes more like 20 minutes.
So if you have more than one core, don't forget to try the actual number
of cores you have at least once, it might be faster.
-Jason
More information about the SLDev
mailing list