[givaro] 01/01: Use flag -ffloat-store on i386.

Tobias Hansen thansen at moszumanska.debian.org
Tue Nov 29 18:49:44 UTC 2016


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

thansen pushed a commit to branch master
in repository givaro.

commit 9662bc2d8ab845a87e87e5ab1c414fab7d166df0
Author: Tobias Hansen <thansen at broeselmaschine.fc.up.pt>
Date:   Tue Nov 29 17:35:46 2016 +0000

    Use flag -ffloat-store on i386.
---
 debian/changelog | 6 ++++++
 debian/rules     | 8 ++++++++
 2 files changed, 14 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 9732345..a7d6a58 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,16 @@
 givaro (4.0.2-4) unstable; urgency=medium
 
+  [ Doug Torrance ]
   * debian/rules
     - Add --disable-simd to override_dh_auto_configure target; build without
       vectorized instructions, which are not available on all processors
       (Closes: #840458).
 
+  [ Tobias Hansen ]
+  * debian/rules
+    - Use flag -ffloat-store on i386, since --disable-simd causes a similar
+      test failure as previously on mips64el and s390x.
+
  -- Doug Torrance <dtorrance at piedmont.edu>  Tue, 29 Nov 2016 11:01:05 -0500
 
 givaro (4.0.2-3) unstable; urgency=medium
diff --git a/debian/rules b/debian/rules
index 43fcc9f..c833497 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,14 @@ ifeq ($(DEB_HOST_ARCH_CPU), $(filter $(DEB_HOST_ARCH_CPU), mips64el s390x))
 	export DEB_CXXFLAGS_MAINT_APPEND = -ffp-contract=off
 endif
 
+# Remove this if https://github.com/linbox-team/givaro/issues/25 is resolved
+# on i386 in a future release.
+# Inspired by patch for Fedora package by Dan Horák <dan at danny.cz>:
+# http://pkgs.fedoraproject.org/cgit/rpms/givaro.git/commit/?id=e33a38c
+ifeq ($(DEB_HOST_ARCH_CPU), $(filter $(DEB_HOST_ARCH_CPU), i386))
+	export DEB_CXXFLAGS_MAINT_APPEND = -ffloat-store
+endif
+
 override_dh_auto_configure:
 	dh_auto_configure -- --with-gmp --enable-shared \
 		--libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \

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



More information about the debian-science-commits mailing list