From: jkratoch <> Date: Thu, 4 Jun 2009 18:54:32 +0000 (+0000) Subject: Default -j is now *1.5 (instead of +1). X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=94ed443ad79f8b3a96e382a45cafc35f414ec5f4 Default -j is now *1.5 (instead of +1). --- diff --git a/.bashrc b/.bashrc index afd754d..1221921 100644 --- a/.bashrc +++ b/.bashrc @@ -193,7 +193,7 @@ export TZ=":/usr/share/zoneinfo/Europe/Prague" MAKEFLAGS= cpus="`getconf _NPROCESSORS_ONLN`" if [ -n "$cpus" ];then - MAKEFLAGS="$MAKEFLAGS -j$[$cpus+1]" + MAKEFLAGS="$MAKEFLAGS -j$[$cpus*3/2]" fi unset cpus # Do not: grep -w "$TERM" /etc/termcap >/dev/null || export TERM=vt220 diff --git a/bin/errs2 b/bin/errs2 index 7563cf7..2ba4f45 100755 --- a/bin/errs2 +++ b/bin/errs2 @@ -9,7 +9,7 @@ fi j="" cpus="`getconf _NPROCESSORS_ONLN`" if [ -n "$cpus" ];then - j="-j$[$cpus+1]" + j="-j$[$cpus*3/2]" fi ( set -ex