[hypre] 02/05: add explicit Build-Depends for BLAS and SuperLU

Drew Parsons dparsons at moszumanska.debian.org
Mon Nov 13 15:02:35 UTC 2017


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

dparsons pushed a commit to branch experimental
in repository hypre.

commit 5439f3750fafec3c674e8541ccdc41dec82b36ea
Author: Drew Parsons <dparsons at debian.org>
Date:   Mon Nov 13 22:26:25 2017 +0800

    add explicit Build-Depends for BLAS and SuperLU
    
    Build-Depends: libsuperlu-dev
    
    Build-Depends: libopenblas-dev | libatlas-base-dev | libblas-dev | libblas.so
    
    (also Depends for libhypre-dev)
---
 debian/changelog | 5 ++++-
 debian/control   | 5 +++--
 debian/rules     | 4 ++--
 3 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f5846ad..aea9d3d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,8 +5,11 @@ hypre (2.13.0-1exp1) UNRELEASED; urgency=medium
     - new multigrid reduction (MGR) solver
     - updates AMG Hybrid solver with BoomerAMG
     - now uses external SuperLU (remove debian superlu_internal.patch)
+      Build-Depends: libsuperlu-dev
     - regression: breaks build of distributed_ls/pilut. Fixed with
-      debian patch pilut_blas_mangle.patch.
+      debian patch pilut_blas_mangle.patch to use external BLAS.
+      Build-Depends: libopenblas-dev | libatlas-base-dev |
+        libblas-dev | libblas.so
 
  -- Drew Parsons <dparsons at debian.org>  Mon, 06 Nov 2017 16:38:54 +0800
 
diff --git a/debian/control b/debian/control
index 0eb5ba0..5407fc9 100644
--- a/debian/control
+++ b/debian/control
@@ -9,8 +9,9 @@ Build-Depends:
  automake,
  debhelper (>= 10),
  gfortran,
- libblas-dev | libblas.so,
+ libopenblas-dev | libatlas-base-dev | libblas-dev | libblas.so,
  liblapack-dev | liblapack.so,
+ libsuperlu-dev,
  libltdl-dev,
  libtool,
  mpi-default-dev,
@@ -36,7 +37,7 @@ Multi-Arch: same
 Architecture: any
 Section: libdevel
 Depends:
- libblas-dev | libblas.so,
+ libopenblas-dev | libatlas-base-dev | libblas-dev | libblas-dev | libblas.so,
  libhypre-2.13.0 (= ${binary:Version}),
  liblapack-dev | liblapack.so,
  libsuperlu-dev,
diff --git a/debian/rules b/debian/rules
index dc80952..3cc45b4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,8 +22,8 @@ LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
 # extra flags set to be similar to what petsc requires
 extra_flags += \
   --with-fei --with-mli \
-  --with-superlu \
-  --with-blas \
+  --with-superlu --with-superlu-include=/usr/include/superlu --with-superlu-lib="-lsuperlu" \
+  --with-blas --with-blas-lib="-lblas" \
   --with-lapack-libs="lapack" --with-lapack-lib-dirs="/usr/lib/lapack" --with-fmangle-lapack="one-underscore" \
   --prefix=$(CURDIR)/debian/tmp/usr
 

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



More information about the debian-science-commits mailing list