Skip to content

Commit

Permalink
[From Sam]
Browse files Browse the repository at this point in the history
> 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.
  • Loading branch information
slouken committed Apr 28, 2006
1 parent 66990ca commit 18c538d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build-scripts/fatbuild.sh
Expand Up @@ -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"
Expand Down

0 comments on commit 18c538d

Please sign in to comment.