From 0e23edc01b095ba0c56f0c0d51933e58d9a18c6a Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 14 Aug 2015 14:26:38 +0200 Subject: reproducible freebsd: also build the kernel and always build with -j --- bin/reproducible_freebsd.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'bin/reproducible_freebsd.sh') 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... -- cgit v1.2.3-54-g00ecf