From 18c538db3cc40f30c68e97ec4c9dba905438401d Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 28 Apr 2006 05:46:07 +0000 Subject: [PATCH] [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. --- build-scripts/fatbuild.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-scripts/fatbuild.sh b/build-scripts/fatbuild.sh index 45173b84d..b7bf30735 100755 --- a/build-scripts/fatbuild.sh +++ b/build-scripts/fatbuild.sh @@ -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"