# HG changeset patch # User Sam Lantinga # Date 1146203167 0 # Node ID 7f39af143e38b03f529ecce3b446a7c180e8ff9a # Parent 70a4d819e95ee2856d881eb43be66fba10b3fc13 [From Sam] > BTW, when setting up parallel make, I usually use # cpus + 1, so a compile is > running while disk access is going for another. [From Ryan] My experience is that this works well on Linux, but is actually slower on PowerPC Mac OS X...not sure if that's an architecture issue or a scheduler issue, though, and haven't tried it on Intel Mac OS X. diff -r 70a4d819e95e -r 7f39af143e38 build-scripts/fatbuild.sh --- a/build-scripts/fatbuild.sh Fri Apr 28 05:43:58 2006 +0000 +++ b/build-scripts/fatbuild.sh Fri Apr 28 05:46:07 2006 +0000 @@ -4,7 +4,8 @@ # Number of CPUs (for make -j) NCPU=`sysctl -n hw.ncpu` -NJOB=`expr $NCPU + 1` +NJOB=$NCPU +#NJOB=`expr $NCPU + 1` # Generic, cross-platform CFLAGS you always want go here. CFLAGS="-O3 -g -pipe"