diff options
author | Holger Levsen <holger@layer-acht.org> | 2012-11-29 17:40:57 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2012-11-29 17:40:57 +0100 |
commit | 1e939b9b5d8973003f6e58fb92a38b1b20e48b7c (patch) | |
tree | 33166745ad2092f74f09638567c4488fae353699 | |
parent | d2ab0c1aafa51aff660c914a0a7ec520274161f7 (diff) | |
download | jenkins.debian.net-1e939b9b5d8973003f6e58fb92a38b1b20e48b7c.tar.xz |
run all cores for building
-rwxr-xr-x | bin/d-i_build.sh | 3 | ||||
-rwxr-xr-x | bin/d-i_manual.sh | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/bin/d-i_build.sh b/bin/d-i_build.sh index 4608c1b9..d178dd6e 100755 --- a/bin/d-i_build.sh +++ b/bin/d-i_build.sh @@ -54,7 +54,8 @@ pdebuild_package() { # # build # - pdebuild --use-pdebuild-internal + NUM_CPU=$(cat /proc/cpuinfo |grep ^processor|wc -l) + pdebuild --use-pdebuild-internal --debbuildopts "-j$NUM_CPU" } init_workspace diff --git a/bin/d-i_manual.sh b/bin/d-i_manual.sh index b9f2e634..78c9c539 100755 --- a/bin/d-i_manual.sh +++ b/bin/d-i_manual.sh @@ -39,7 +39,8 @@ pdebuild_package() { # build # cd manual - pdebuild --use-pdebuild-internal + NUM_CPU=$(cat /proc/cpuinfo |grep ^processor|wc -l) + pdebuild --use-pdebuild-internal --debbuildopts "-j$NUM_CPU" cd .. } |