[lapack] 02/02: ia64_ignore_testfailures.patch: new patch.

Sébastien Villemot sebastien at alioth.debian.org
Fri Sep 20 21:07:48 UTC 2013


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

sebastien pushed a commit to branch master
in repository lapack.

commit 2bf410b36b04544ea1e59dd937084d6d5e19cbe4
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Fri Sep 20 22:55:01 2013 +0200

    ia64_ignore_testfailures.patch: new patch.
    
    Ignore two test failures on ia64.
---
 debian/changelog                              |    2 ++
 debian/patches/ia64_ignore_testfailures.patch |   42 +++++++++++++++++++++++++
 debian/patches/series                         |    1 +
 3 files changed, 45 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 4beed9d..1d99b62 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ lapack (3.4.2+dfsg-3) UNRELEASED; urgency=low
 
   * Remove -funroll-all-loops from build flags. It may diminish
     performance, and creates segfaults on ia64.
+  * ia64_ignore_testfailures.patch: new patch. Ignore two test failures on
+    ia64.
 
  -- Sébastien Villemot <sebastien at debian.org>  Fri, 20 Sep 2013 22:43:23 +0200
 
diff --git a/debian/patches/ia64_ignore_testfailures.patch b/debian/patches/ia64_ignore_testfailures.patch
new file mode 100644
index 0000000..cf62a04
--- /dev/null
+++ b/debian/patches/ia64_ignore_testfailures.patch
@@ -0,0 +1,42 @@
+Description: Ignore tests that fail on IA64
+ Two tests fail because of floating point exception on IA64. Ignore these for
+ the time being.
+Author: Sébastien Villemot <sebastien at debian.org>
+Forwarded: not-needed
+Last-Update: 2013-09-20
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: lapack-3.4.2+dfsg/testing/Makefile
+===================================================================
+--- lapack-3.4.2+dfsg.orig/testing/Makefile	2013-09-20 20:02:34.000000000 +0000
++++ lapack-3.4.2+dfsg/testing/Makefile	2013-09-20 20:07:19.000000000 +0000
+@@ -41,6 +41,11 @@
+     LAPACKLIB :=  $(VARLIB) ../$(LAPACKLIB)
+ endif
+ 
++ifeq ($(shell dpkg-architecture -qDEB_HOST_ARCH),ia64)
++ia64ignore=-
++else
++ia64ignore=
++endif
+ 
+ all:     single complex double complex16 singleproto doubleproto complexproto complex16proto
+ 
+@@ -161,7 +166,7 @@
+ 
+ ctest.out: ctest.in xlintstc
+ 	@echo Testing COMPLEX LAPACK linear equation routines
+-	./xlintstc < ctest.in > $@ 2>&1
++	$(ia64ignore)./xlintstc < ctest.in > $@ 2>&1
+ #
+ # ======== DOUBLE LIN TESTS ===========================
+ 
+@@ -355,7 +360,7 @@
+ 
+ cgqr.out: gqr.in xeigtstc
+ 	@echo GQR: Testing Generalized QR and RQ factorization routines
+-	./xeigtstc < gqr.in > $@ 2>&1
++	$(ia64ignore)./xeigtstc < gqr.in > $@ 2>&1
+ 
+ cgsv.out: gsv.in xeigtstc
+ 	@echo GSV: Testing Generalized Singular Value Decomposition routines
diff --git a/debian/patches/series b/debian/patches/series
index 8158fd7..ad9a62c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ lapacke_no_matgen.patch
 decouple_gcc.diff
 parallel_build.patch
 recursive.patch
+ia64_ignore_testfailures.patch

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



More information about the debian-science-commits mailing list