diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2019-11-17 13:34:36 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2019-11-17 13:34:36 +0300 |
commit | 6cf4e270d951dccb5cabe70d865415d2628c7a4e (patch) | |
tree | 119cbca714d74244d1aa4e2241e59fbf8450d30d /debian/tests/build | |
parent | f0ef3d0a5cb2410eab2b1b412e7ec7ef94fa0dc6 (diff) | |
download | binutils-debian.tar.gz |
Import 2.33.1-2debian/2.33.1-2debian
Diffstat (limited to 'debian/tests/build')
-rw-r--r-- | debian/tests/build | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/debian/tests/build b/debian/tests/build index b23e556..01b1248 100644 --- a/debian/tests/build +++ b/debian/tests/build @@ -1 +1,12 @@ -#!/bin/true +#!/bin/sh + +set -e + +CPUS=$(getconf _NPROCESSORS_ONLN) +case "$CPUS" in + [0-9]|[0-9][0-9]|[0-9][0-9][0-9]) ;; + *) CPUS=1 +esac + +set -x +DEB_BUILD_OPTIONS="parallel=$CPUS nohppa nomult nocross" dpkg-buildpackage -d -B --no-sign |