[libitpp] 01/01: Use ffloat-store on i386 to avoid accuracy based test failure. Fixed by Adrian Bunk (Closes: #877063)

Kumar Appaiah akumar at moszumanska.debian.org
Sat Sep 30 07:26:29 UTC 2017


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

akumar pushed a commit to annotated tag debian/4.3.1-8
in repository libitpp.

commit 6aa0613f4df55530ff620a77cc09562226bd3b75
Author: Kumar Appaiah <a.kumar at alumni.iitm.ac.in>
Date:   Sat Sep 30 12:36:40 2017 +0530

    Use ffloat-store on i386 to avoid accuracy based test failure. Fixed by Adrian Bunk (Closes: #877063)
    
    * Use ffloat-store on i386 to avoid accuracy based test failure. Fixed
      by Adrian Bunk (Closes: #877063)
    * Standards Version is now 4.0.0 (No changes required)
---
 debian/changelog | 8 ++++++++
 debian/control   | 2 +-
 debian/rules     | 5 +++++
 3 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 1cb94a5..9f43dd3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+libitpp (4.3.1-8) unstable; urgency=medium
+
+  * Use ffloat-store on i386 to avoid accuracy based test failure. Fixed
+    by Adrian Bunk (Closes: #877063)
+  * Standards Version is now 4.0.0 (No changes required)
+
+ -- Kumar Appaiah <akumar at debian.org>  Sat, 30 Sep 2017 12:34:09 +0530
+
 libitpp (4.3.1-7) unstable; urgency=medium
 
   * Replace man timestamp by SOURCE_DATE_EPOCH to make the package
diff --git a/debian/control b/debian/control
index 252d6b7..58ec958 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: libitpp
 Priority: optional
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Kumar Appaiah <akumar at debian.org>
-Standards-Version: 3.9.8
+Standards-Version: 4.0.0
 Build-Depends: debhelper (>= 9), libblas-dev, libfftw3-dev, liblapack-dev, gfortran, libgtest-dev, cmake
 Build-Depends-Indep: doxygen-latex, ghostscript
 Section: libs
diff --git a/debian/rules b/debian/rules
index 99eac38..28dbaf9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,12 @@
 #!/usr/bin/make -f
 
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
+ifneq (,$(findstring $(DEB_HOST_ARCH), i386))
+    export DEB_CFLAGS_MAINT_APPEND = -ffloat-store
+    export DEB_CXXFLAGS_MAINT_APPEND = -ffloat-store
+endif
 DEBUG_PACKAGE = $(shell awk '/^Package/ && /-dbg *$$/ { print $$2 }' debian/control)
 %:
 	VERBOSE=1 dh $@ --parallel --builddirectory=build

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libitpp.git



More information about the debian-science-commits mailing list