[sagemath] 13/14: Add openblas to pruner and d/control.

Tobias Hansen thansen at moszumanska.debian.org
Tue Oct 25 00:51:25 UTC 2016


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

thansen pushed a commit to branch sage-7.4
in repository sagemath.

commit 8cc19b9e414cd0eef5198abdb6f90d19458f1125
Author: Tobias Hansen <thansen at broeselmaschine.fc.up.pt>
Date:   Tue Oct 25 00:36:43 2016 +0000

    Add openblas to pruner and d/control.
---
 debian/control.in          | 1 +
 debian/pruner/configure.ac | 3 +++
 debian/pruner/pruner.py.in | 1 +
 3 files changed, 5 insertions(+)

diff --git a/debian/control.in b/debian/control.in
index d0baffc..834e201 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -70,6 +70,7 @@ Build-Depends:
  libmpfi-dev,
  libmpfr-dev,
  libntl-dev (>= 9.9.1-2),
+ libopenblas-dev (>= 0.2.19),
  libpari-dev (>= 2.8-2771-gb70b447-3),
 # libplanarity-dev, this is version 3.0, we need 2.2
  libpng-dev,
diff --git a/debian/pruner/configure.ac b/debian/pruner/configure.ac
index 7070100..c6cf942 100644
--- a/debian/pruner/configure.ac
+++ b/debian/pruner/configure.ac
@@ -226,6 +226,9 @@ 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")
+AC_SUBST(HAS_OPENBLAS)
+
 AC_CHECK_PROG(HAS_PALP, nef-5d.x, "True", "False")
 AC_SUBST(HAS_PALP)
 
diff --git a/debian/pruner/pruner.py.in b/debian/pruner/pruner.py.in
index 15d1a9e..83f7dc7 100644
--- a/debian/pruner/pruner.py.in
+++ b/debian/pruner/pruner.py.in
@@ -102,6 +102,7 @@ dico = {
     'nauty': @HAS_NAUTY@,
     'ncurses': @HAS_NCURSES@,
     'ntl': @HAS_NTL@,
+    'openblas': @HAS_OPENBLAS@,
     'palp': @HAS_PALP@,
     'pari': @HAS_PARI@,
     'pari_galdata': @HAS_PARI_GALDATA@,

-- 
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