[med-svn] [seqan2] 01/04: Try to save more memory on kfreebsd-*

Michael Crusoe misterc-guest at moszumanska.debian.org
Fri Jan 13 14:39:32 UTC 2017


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

misterc-guest pushed a commit to branch debian-experimental
in repository seqan2.

commit 20af6c2621ed128efcf6055abbd84b9094640112
Author: Michael R. Crusoe <michael.crusoe at gmail.com>
Date:   Wed Oct 26 05:52:06 2016 -0700

    Try to save more memory on kfreebsd-*
---
 debian/changelog | 7 +++++++
 debian/rules     | 7 ++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 861a9a3..f572649 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+seqan2 (2.3.0~1.20161019~af07bc1+dfsg-5) UNRELEASED; urgency=medium
+
+  * Try to save more memory on kfreebsd-*
+  * Fix parallel build disabling to not produce warnings
+
+ -- Michael R. Crusoe <michael.crusoe at gmail.com>  Wed, 26 Oct 2016 05:51:51 -0700
+
 seqan2 (2.3.0~1.20161019~af07bc1+dfsg-4) experimental; urgency=medium
 
   * Try out -O3 for many architectures as that is upstream's default.
diff --git a/debian/rules b/debian/rules
index a7e13cb..7ef82de 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,10 +28,15 @@ endif
 ifneq (,$(filter armhf mips kfreebsd%,$(DEB_BUILD_ARCH)))
     $(info $$DEB_BUILD_OPTIONS was [${DEB_BUILD_OPTIONS}])
     TDBO := $(DEB_BUILD_OPTIONS)
-    export DEB_BUILD_OPTIONS = $(filter $(TDBO), parallel) parallel=1
+    export DEB_BUILD_OPTIONS=parallel=1,$(filter $(TDBO), parallel)
 endif
 $(info $$DEB_BUILD_OPTIONS is [${DEB_BUILD_OPTIONS}])
 
+# Try to save memory on kfreebsd-*
+ifneq (,$(filter kfreebsd%,$(DEB_BUILD_ARCH)))
+	export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS | sed 's/-O[1-9]//') -O1
+endif
+
 pkgapps=seqan-apps
 pkgdev=libseqan2-dev
 

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