From 6a27e913808a9d330930586347b934a3541f0d07 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Sat, 3 Dec 2011 20:21:36 +0000 Subject: [PATCH] Look for the number of available CPUs for parallel builds. --- etc/sit.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/sit.conf b/etc/sit.conf index 533aaf1..8c50779 100644 --- a/etc/sit.conf +++ b/etc/sit.conf @@ -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"