[med-svn] [seqan2] 01/05: re-enable parallel build override

Michael Crusoe misterc-guest at moszumanska.debian.org
Fri Nov 3 06:58:48 UTC 2017


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

misterc-guest pushed a commit to tag debian/2.3.2.000platform-issues3-1d438c8+dfsg-1
in repository seqan2.

commit eaae4ca1322356b06c54aedb2436576ae7d5d2fb
Author: Michael R. Crusoe <michael.crusoe at gmail.com>
Date:   Thu Oct 26 23:41:02 2017 -0700

    re-enable parallel build override
---
 debian/rules | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/debian/rules b/debian/rules
index bbc5ffc..f28cc08 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,7 +20,7 @@ include /usr/share/dpkg/buildflags.mk
 DEB_HOST_ARCH       ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
 DEB_BUILD_ARCH          ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
-ifneq (,$(filter mips mipsel kfreebsd% hurd%,$(DEB_BUILD_ARCH)))
+ifneq (,$(filter mips mipsel kfreebsd% hurd% sh4,$(DEB_BUILD_ARCH)))
     CXXFLAGS+=-O1
     CFLAGS+=-O1
 else
@@ -32,12 +32,12 @@ ifneq (,$(filter mips mipsel mips64el,$(DEB_BUILD_ARCH)))
     export CXXFLAGS+=-mxgot
 endif
 # Disable parallel building on some build archs to save memory
-#ifneq (,$(filter armhf mips kfreebsd%,$(DEB_BUILD_ARCH)))
-#    $(info $$DEB_BUILD_OPTIONS was [${DEB_BUILD_OPTIONS}])
-#    TDBO := $(DEB_BUILD_OPTIONS)
-#    export DEB_BUILD_OPTIONS=parallel=1,$(filter $(TDBO), parallel)
-#endif
-#$(info $$DEB_BUILD_OPTIONS is [${DEB_BUILD_OPTIONS}])
+ifneq (,$(filter armhf mips sh4 kfreebsd%,$(DEB_BUILD_ARCH)))
+    $(info $$DEB_BUILD_OPTIONS was [${DEB_BUILD_OPTIONS}])
+    TDBO := $(DEB_BUILD_OPTIONS)
+    export DEB_BUILD_OPTIONS=parallel=1,$(filter $(TDBO), parallel)
+endif
+$(info $$DEB_BUILD_OPTIONS is [${DEB_BUILD_OPTIONS}])
 
 ifneq (,$(filter mips64el ppc64el s390x alpha hppa powerpc ppc64 sparc64,$(DEB_HOST_ARCH)))
 # Disable async io on certain target archs, as per upstream

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



More information about the debian-med-commit mailing list