[sagemath] 01/02: Fix pruner check for openblas.

Tobias Hansen thansen at moszumanska.debian.org
Sun Sep 10 09:22:39 UTC 2017


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

thansen pushed a commit to branch master
in repository sagemath.

commit 17b96e232832fa5ecb7d6df870b990bb43737f50
Author: Tobias Hansen <thansen at debian.org>
Date:   Sun Sep 10 09:18:21 2017 +0000

    Fix pruner check for openblas.
---
 debian/changelog           | 7 +++++++
 debian/pruner/configure.ac | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 56f6052..b35ec4c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+sagemath (8.0-6) UNRELEASED; urgency=medium
+
+  * Use pkg-config to check for openblas in pruner, the old check
+    broke with the multiarchified openblas 0.2.20+ds-3.
+
+ -- Tobias Hansen <thansen at debian.org>  Sun, 10 Sep 2017 09:16:50 +0000
+
 sagemath (8.0-5) unstable; urgency=medium
 
   * Tweak the test failure limits to avoid unnecessary FTBFS.
diff --git a/debian/pruner/configure.ac b/debian/pruner/configure.ac
index 6abcd2e..ed09889 100644
--- a/debian/pruner/configure.ac
+++ b/debian/pruner/configure.ac
@@ -235,7 +235,7 @@ AC_SUBST(HAS_NCURSES)
 AC_CHECK_HEADERS(NTL/version.h, HAS_NTL="True", HAS_NTL="False")
 AC_SUBST(HAS_NTL)
 
-AC_CHECK_HEADERS(openblas/cblas.h, HAS_OPENBLAS="True", HAS_OPENBLAS="False")
+PKG_CHECK_MODULES(openblas, blas-openblas, [HAS_OPENBLAS='True'], [HAS_OPENBLAS='False'])
 AC_SUBST(HAS_OPENBLAS)
 
 AC_CHECK_PROG(HAS_PALP, nef-5d.x, "True", "False")

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



More information about the debian-science-commits mailing list