A year or so
ago, building with make -j >1 was advised against
due to the
potential to produce spurious build failures, etc. Has that
changed? The build
time savings is attractive, but if there hasn't been any testing,
best to stick
to -j1 for now?
The only build scripts where I limit NUMJOBS=-j1:
dependencies/avahi-tqt/avahi-tqt.SlackBuild
libraries/pytdeextensions/pytdeextensions.SlackBuild
tdebindings/tdebindings.SlackBuild
For everything else:
if [ "$NUMJOBS" = "" ]; then
NUMJOBS="`grep -c '^processor' /proc/cpuinfo`"
NUMJOBS=$(($NUMJOBS + 2))
export NUMJOBS="-j${NUMJOBS}"
fi
Darrell
The build farm builds everything on 8-core machines with parallel jobs
allowed, and I haven't seen any failures.
Tim