summaryrefslogtreecommitdiff
path: root/build-scripts
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2006-04-28 05:46:07 +0000
committerSam Lantinga <slouken@libsdl.org>2006-04-28 05:46:07 +0000
commitf1a9e1bc50616a11ee48309e4abeb8153f012f19 (patch)
tree7cacb4ebd29bf590820a6a48fc4840b51741bc8d /build-scripts
parent0e85088dbfeb2244390bdab032f935dbab70aec3 (diff)
[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.
Diffstat (limited to 'build-scripts')
-rwxr-xr-xbuild-scripts/fatbuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-scripts/fatbuild.sh b/build-scripts/fatbuild.sh
index 45173b84d7..b7bf30735a 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"