Look for the number of available CPUs for parallel builds.

This commit is contained in:
Christoph Niethammer 2011-12-03 20:21:36 +00:00
parent d822a5486e
commit 6a27e91380

View file

@ -12,7 +12,7 @@ SCLASS_DIR=${SCLASS_DIR:="$SIT_PATH/packages"}
# basic installation directory
PREFIX_BASE=${PREFIX_BASE:="$HOME/bin"}
MAKEOPTS="-j2"
MAKEOPTS="-j$(cat /proc/cpuinfo | grep -c processor)"
# default platform for unknown platforms
DEFAULT_PLATFORM="laki"