[Qa-jenkins-scm] [jenkins.debian.net] 01/03: reproducible freebsd: also build the kernel and always build with -j
Holger Levsen
holger at moszumanska.debian.org
Fri Aug 14 12:34:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 0e23edc01b095ba0c56f0c0d51933e58d9a18c6a
Author: Holger Levsen <holger at layer-acht.org>
Date: Fri Aug 14 14:26:38 2015 +0200
reproducible freebsd: also build the kernel and always build with -j
---
bin/reproducible_freebsd.sh | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_freebsd.sh b/bin/reproducible_freebsd.sh
index 7b70b48..8e42866 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...
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list