summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2020-05-26 12:12:26 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2020-05-26 12:12:26 +0200
commit9747681dd97510d5a47f33edc323670a57bf1bfa (patch)
tree05baa17b3dde8be64c649227ddbe57380eab3d33 /ci
parent80bef8a08035f25d45cf5cb50fe92cfc3d2a45b0 (diff)
downloadxfce4-dev-tools-9747681dd97510d5a47f33edc323670a57bf1bfa.tar.gz
ci/build_libs.sh: use all cores for build
Use all cores from `nproc` rather than hardcode parallel jobs to 8. Allow overide this via environment variable NPROC: `docker build --build-arg NPROC=2 ...`
Diffstat (limited to 'ci')
-rw-r--r--ci/build_libs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/build_libs.sh b/ci/build_libs.sh
index 4098e64..77d7d4d 100644
--- a/ci/build_libs.sh
+++ b/ci/build_libs.sh
@@ -25,7 +25,7 @@ for URL in ${REPOS}; do
echo "--- Building $NAME ($TAG) ---"
git checkout -b build-$TAG $TAG
./autogen.sh $AUTOGEN_OPTIONS
- make -j8
+ make -j${NPROC:-$(nproc)}
make install
echo "$(pwd): $(git describe)" >> /git/xfce_build_version_info.txt
done