From 5ae6325a75e539f210c99d0c6eb52e7856051862 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 6 Jun 2015 22:56:20 +0200 Subject: reproducible coreboot: improve job description and be nice. --- bin/reproducible_coreboot.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/reproducible_coreboot.sh') 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 -- cgit v1.2.3-54-g00ecf