git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d5f21f
)
Default -j is now *1.5 (instead of +1).
author
jkratoch
<>
Thu, 4 Jun 2009 18:54:32 +0000
(18:54 +0000)
committer
jkratoch
<>
Thu, 4 Jun 2009 18:54:32 +0000
(18:54 +0000)
.bashrc
patch
|
blob
|
history
bin/errs2
patch
|
blob
|
history
diff --git
a/.bashrc
b/.bashrc
index
afd754d
..
1221921
100644
(file)
--- 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
(executable)
--- 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