[pcl] 01/01: Added parallel build in some Archs (!=32 bits).
Leopold Palomo-Avellaneda
leo at alaxarxa.net
Tue Oct 6 06:36:28 UTC 2015
This is an automated email from the git hooks/post-receive script.
lepalom-guest pushed a commit to branch master
in repository pcl.
commit 905483a981ce1920bb588e505c33b333f1d7189f
Author: Leopold Palomo-Avellaneda <leo at alaxarxa.net>
Date: Tue Oct 6 08:36:02 2015 +0200
Added parallel build in some Archs (!=32 bits).
---
debian/changelog | 7 +++++++
debian/rules | 10 +++++++++-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 5cc44eb..da4c3b1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+pcl (1.7.2-11) UNRELEASED; urgency=medium
+
+ * Add parallel build in some Archs (!=32 bits).
+ Closes: #799218
+
+ -- Leopold Palomo-Avellaneda <leo at alaxarxa.net> Wed, 23 Sep 2015 12:12:31 +0200
+
pcl (1.7.2-10) unstable; urgency=medium
* Fix an other FTBFS on ppc64el
diff --git a/debian/rules b/debian/rules
index 88c850c..387d5ae 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,6 +20,14 @@ BUILD_DOC = $(if $(shell dh_listpackages | grep libpcl-doc),-DWITH_DOCS=ON)
# Multiarch.
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+# Num bits
+DEB_HOST_ARCH_BITS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_BITS)
+
+ifeq ($(DEB_HOST_ARCH_BITS),32)
+ PARALLEL = ""
+else
+ PARALLEL = --parallel
+endif
.PHONY: override_dh_auto_configure \
override_dh_install \
@@ -94,7 +102,7 @@ override_dh_installchangelogs:
%:
- dh $@ --builddirectory=build
+ dh $@ $(PARALLEL) --builddirectory=build
get-orig-source:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pcl.git
More information about the debian-science-commits
mailing list