[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. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401681
This commit is contained in:
parent
7d07e3b48d
commit
f573eff4b8
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue