Look for the number of available CPUs for parallel builds.
This commit is contained in:
parent
d822a5486e
commit
6a27e91380
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue