[med-svn] [seqan2] 03/03: remove some archs, save memory on others

Michael Crusoe misterc-guest at moszumanska.debian.org
Mon Oct 24 12:31:41 UTC 2016


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

misterc-guest pushed a commit to tag debian/2.3.0_0.20161019_af07bc1+dfsg-2
in repository seqan2.

commit 89ff8dbae2091c1e6babfafc19e5355c84e5898e
Author: Michael R. Crusoe <michael.crusoe at gmail.com>
Date:   Mon Oct 24 04:57:50 2016 -0700

    remove some archs, save memory on others
---
 debian/changelog | 3 +++
 debian/control   | 3 ++-
 debian/rules     | 6 +++++-
 3 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8f9b4af..d687d2e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,9 @@ seqan2 (2.3.0~0.20161019~af07bc1+dfsg-2) experimental; urgency=medium
 
   * Fix typo from upstream's patch.
   * Work around GNU Hurd TANDEM problem
+  * Skip armel
+  * Test -O1 for mips[el] 
+  * Test turning off parallel builds for armhf, mips, kfreebsd-*
 
  -- Michael R. Crusoe <michael.crusoe at gmail.com>  Thu, 20 Oct 2016 04:48:11 -0700
 
diff --git a/debian/control b/debian/control
index aa33275..c949a6a 100644
--- a/debian/control
+++ b/debian/control
@@ -26,7 +26,8 @@ Vcs-Git: https://anonscm.debian.org/git/debian-med/seqan2.git
 Homepage: http://www.seqan.de/
 
 Package: seqan-apps
-Architecture: any
+Architecture: any-amd64 arm64 armhf any-i386 mips mips64el mipsel powerpc ppc64el s390x alpha hppa m68k powerpcspe ppc64 sh4 sparc64 x32
+# armel, not until std::future works https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64735
 Depends: ${shlibs:Depends},
          ${misc:Depends}
 Description: C++ library for the analysis of biological sequences
diff --git a/debian/rules b/debian/rules
index f230ef8..d31ff12 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,7 +22,11 @@ DEB_HOST_ARCH       ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
 DEB_BUILD_ARCH          ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 ifneq (,$(filter $(DEB_BUILD_ARCH),mips mipsel))
-    export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS | sed 's/-O[1-9]//') -O0 -mxgot
+    export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS | sed 's/-O[1-9]//') -O1 -mxgot
+endif
+# Disable parallel building on some archs to save memory
+ifneq (,$(filter $(DEB_BUILD_ARCH),armhf mips kfreebsd))
+    export DEB_BUILD_OPTIONS = $(filter $(DEB_BUILD_OPTIONS), parallel) parallel=1
 endif
 
 pkgapps=seqan-apps

-- 
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