summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-06 22:56:20 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-06 22:58:41 +0200
commit5ae6325a75e539f210c99d0c6eb52e7856051862 (patch)
tree212b1e22c205b64525bf0e3bb8ed54aab47d0f96 /bin
parentca1f05897fb22ccdf94e5978f2fab7a96dca978c (diff)
downloadjenkins.debian.net-5ae6325a75e539f210c99d0c6eb52e7856051862.tar.xz
reproducible coreboot: improve job description and be nice.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_coreboot.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh
index 43d7ecaa..1243b2aa 100755
--- a/bin/reproducible_coreboot.sh
+++ b/bin/reproducible_coreboot.sh
@@ -101,7 +101,7 @@ echo "==========================================================================
echo "$(date -u) - Building cross compilers for ${ARCHS} now."
echo "============================================================================="
for ARCH in ${ARCHS} ; do
- make crossgcc-$ARCH
+ nice ionice -c 3 make crossgcc-$ARCH
done
echo "============================================================================="
@@ -115,7 +115,7 @@ NUM_CPU=$(cat /proc/cpuinfo |grep '^processor'|wc -l)
sed -i "s#cpus=1#cpus=$NUM_CPU#" util/abuild/abuild
sed -i 's#USE_XARGS=1#USE_XARGS=0#g' util/abuild/abuild
# actually build everything
-bash util/abuild/abuild || true # don't fail the full job just because some targets fail
+nice ionice -c 3 bash util/abuild/abuild || true # don't fail the full job just because some targets fail
cd coreboot-builds
for i in * ; do
@@ -136,7 +136,7 @@ export LC_ALL="fr_CH.UTF-8"
# use allmost all cores for second build
NEW_NUM_CPU=$(echo $NUM_CPU-1|bc)
sed -i "s#cpus=$NUM_CPU#cpus=$NEW_NUM_CPU#" util/abuild/abuild
-bash util/abuild/abuild || true # don't fail the full job just because some targets fail
+nice ionice -c 3 bash util/abuild/abuild || true # don't fail the full job just because some targets fail
export LANG="en_GB.UTF-8"
unset LC_ALL