diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-14 14:26:38 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-14 14:27:58 +0200 |
commit | 0e23edc01b095ba0c56f0c0d51933e58d9a18c6a (patch) | |
tree | 9dbdbda45cf8be7d60211939fb930592d8d93713 /bin | |
parent | c655cdaba62236710ef1626d8320f4fef570255d (diff) | |
download | jenkins.debian.net-0e23edc01b095ba0c56f0c0d51933e58d9a18c6a.tar.xz |
reproducible freebsd: also build the kernel and always build with -j
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_freebsd.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/reproducible_freebsd.sh b/bin/reproducible_freebsd.sh index 7b70b48f..8e428662 100755 --- a/bin/reproducible_freebsd.sh +++ b/bin/reproducible_freebsd.sh @@ -63,7 +63,9 @@ echo "$(date -u) - Building freebsd ${FREEBSD_VERSION} - first build run." echo "=============================================================================" export TZ="/usr/share/zoneinfo/Etc/GMT+12" # actually build everything -$RSSH "cd $TMPBUILDDIR ; TZ=$TZ sudo make buildworld" +NUM_CPU=3 +$RSSH "cd $TMPBUILDDIR ; TZ=$TZ sudo make -j $NUM_CPU buildworld" +$RSSH "cd $TMPBUILDDIR ; TZ=$TZ sudo make -j $NUM_CPU buildkernel" # save results in b1 save_freebsd_results b1 @@ -84,8 +86,10 @@ export TZ="/usr/share/zoneinfo/Etc/GMT-14" ###umask 0002 #### use allmost all cores for second build ###NEW_NUM_CPU=$(echo $NUM_CPU-1|bc) +NEW_NUM_CPU=4 # actually build everything -$RSSH "cd $TMPBUILDDIR ; TZ=$TZ sudo make buildworld" +$RSSH "cd $TMPBUILDDIR ; TZ=$TZ sudo make -j $NEW_NUM_CPU buildworld" +$RSSH "cd $TMPBUILDDIR ; TZ=$TZ sudo make -j $NEW_NUM_CPU buildkernel" # save results in b2 save_freebsd_results b2 # cleanup... |