[libm4ri] 01/01: deactivate openMP on sparc to avoid randomly failing tests

Cédric Boutillier boutil at alioth.debian.org
Mon Sep 16 13:53:42 UTC 2013


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

boutil pushed a commit to branch master
in repository libm4ri.

commit c5e55f4223e0f6cef45e34dead3d55d099f442f8
Author: Cédric Boutillier <boutil at debian.org>
Date:   Mon Sep 16 15:20:43 2013 +0200

    deactivate openMP on sparc to avoid randomly failing tests
---
 debian/changelog |    6 ++++++
 debian/rules     |    8 +++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index fe166ec..2eb751b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libm4ri (20130416-4) unstable; urgency=low
+
+  * Deactivate openMP on sparc to avoid randomly failing tests. 
+
+ -- Cédric Boutillier <boutil at debian.org>  Mon, 16 Sep 2013 15:20:00 +0200
+
 libm4ri (20130416-3) unstable; urgency=low
 
   * Upload to unstable.
diff --git a/debian/rules b/debian/rules
index 2c87b70..83c0f4d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,15 +4,21 @@ DPKG_EXPORT_BUILDFLAGS = 1
 
 DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
 
+# disable sse2 except on amd64
 ifneq ($(DEB_HOST_ARCH_CPU),amd64)
 additional_confflags := --disable-sse2
 endif
 
+# activate openmp support except on sparc
+ifneq ($(DEB_HOST_ARCH_CPU),sparc)
+additional_confflags := $(additional_confflags) --enable-openmp
+endif
+
 %:
 	dh $@ --with autoreconf
 
 override_dh_auto_configure:
-	dh_auto_configure -- $(additional_confflags) --enable-openmp
+	dh_auto_configure -- $(additional_confflags)
 
 override_dh_strip:
 	dh_strip --dbg-package=libm4ri-0.0.20130416-dbg

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



More information about the debian-science-commits mailing list