[Pkg-ceph-commits] [ceph] 01/01: d/rules: Disable parallel builds on arm64, resolving FTBFS due to memory constraints in builders.
James Downing Page
jamespage at moszumanska.debian.org
Mon Jan 25 14:57:21 UTC 2016
This is an automated email from the git hooks/post-receive script.
jamespage pushed a commit to branch experimental
in repository ceph.
commit 1903a326e4ba95a4998518cfeac8939589eae428
Author: James Page <james.page at ubuntu.com>
Date: Fri Jan 15 10:05:18 2016 +0200
d/rules: Disable parallel builds on arm64, resolving FTBFS due to memory constraints in builders.
(cherry picked from commit 2a873f6c514bb61ee37ae9b0dd093a5b396175d1)
---
debian/rules | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 38e9237..485299a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -38,11 +38,18 @@ else
extraopts += --without-tcmalloc
endif
+# Setup max parallel builds based on architecture
+ifeq ($(DEB_HOST_ARCH), arm64)
+ maxparallel=1
+else
+ maxparallel=2
+endif
+
# Use system provided libs3
extraopts += --with-system-libs3
%:
- dh $@ --with javahelper,python2,autoreconf,systemd --parallel --max-parallel=2
+ dh $@ --with javahelper,python2,autoreconf,systemd --parallel --max-parallel=$(maxparallel)
# use --as-needed only if supported by dh-autoreconf (to simplify backporting)
DH_AS_NEEDED=$(shell dpkg --compare-versions $$(dpkg --status dh-autoreconf | grep Version | cut -d' ' -f2) ge 6 && echo --as-needed)
--
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