On Wed, Jun 02, 2010 at 05:10:28PM -0700, William G. Scott wrote:
> 
> On Jun 2, 2010, at 5:04 PM, Benjamin Reed wrote:
> 
> > So if GCC's build is not repeatably compatible with -jN, then it
> > should probably not be doing it by default.  :P
> 
> Anything to speed this build up is delightful.
> 
> Perhaps the best compromise is a conditional test, i.e.,
> 
> if [[  $(sysctl -n hw.ncpu) -gt 2 ]];then
> 
>      make -j   $(( $(sysctl -n hw.ncpu) - 1 ))
> 
> else
> 
>     make
> 
> fi
> 

Bill,
   What happens if you change...

make -j $num_cpu

...to...

nice -n -20 make -j $num_cpu

to increase the system scheduling priority during
the build?
             Jack

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to