[Pkg-ceph-commits] [ceph] 79/85: Allow setting the number of parallel jobs

Gaudenz Steinlin gaudenz at moszumanska.debian.org
Mon Dec 26 20:47:31 UTC 2016


This is an automated email from the git hooks/post-receive script.

gaudenz pushed a commit to branch jewel
in repository ceph.

commit 936838e1a2d1e58964d04fcfba5542a08c108147
Author: Gaudenz Steinlin <gaudenz at debian.org>
Date:   Sat Dec 17 21:26:06 2016 +0100

    Allow setting the number of parallel jobs
    
    The default number of parallel jobs is set to 2 to not memory stress the
    autobuilders too much. But allow overriding this with DEB_BUILD_OPTIONS.
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index dc2f914..5955ea9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -44,6 +44,8 @@ endif
 # Setup max parallel builds based on architecture
 ifeq ($(DEB_HOST_ARCH), arm64)
   maxparallel=1
+else ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+  maxparallel=$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 else
   maxparallel=2
 endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ceph/ceph.git



More information about the Pkg-ceph-commits mailing list