summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Pfeiffer2019-06-28 15:24:43 +0200
committerChristian Pfeiffer2019-06-28 15:24:43 +0200
commitbcc78648b200263967ef91d4ef11972fbaa5157a (patch)
treea375bdd8effd268a7415bcb1117b0e7956f22aca
parent3ccaf6b8e1b9076f2f502b2c814c10589ef85918 (diff)
downloadaur-bcc78648b200263967ef91d4ef11972fbaa5157a.tar.gz
Moved HYPRE headers to subfolder
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ba4686957eb..abbbde70672 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,14 @@
pkgbase = hypre
pkgdesc = A library for solving large, sparse linear systems on massively parallel computers
pkgver = 2.16.0
- pkgrel = 1
+ pkgrel = 2
url = https://www.llnl.gov/casc/hypre/
arch = x86_64
license = lgpl
makedepends = gcc-fortran
depends = superlu
depends = superlu_dist
+ depends = openmpi
source = https://github.com/hypre-space/hypre/archive/v2.16.0.tar.gz
source = hypre-config-fix.patch
sha512sums = 3c08658aa9c55724c658584d829a3243445f853f416d3140840c97daa882ecd3712535213b8d9cdf2eb81e67e66e53e809a1275781446133c985b5a1a2b9fd4f
diff --git a/PKGBUILD b/PKGBUILD
index d3351c1d626..1bc6f5befd7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,12 +6,12 @@
pkgname=hypre
pkgver=2.16.0
-pkgrel=1
+pkgrel=2
pkgdesc="A library for solving large, sparse linear systems on massively parallel computers"
arch=('x86_64')
url="https://www.llnl.gov/casc/hypre/"
license=('lgpl')
-depends=('superlu' 'superlu_dist')
+depends=('superlu' 'superlu_dist' 'openmpi')
makedepends=('gcc-fortran')
source=(https://github.com/hypre-space/hypre/archive/v${pkgver}.tar.gz
hypre-config-fix.patch)
@@ -31,7 +31,7 @@ build() {
# disable internal superlu and fei for now, not sure yet how to get it to use external superlu
CFLAGS="${CFLAGS} -fopenmp" CXXFLAGS="${CXXFLAGS} -fopenmp" LDFLAGS="${LDFLAGS} -lgomp" \
- ./configure --prefix="${pkgdir}/usr" --enable-shared \
+ ./configure --prefix="${pkgdir}/usr" --includedir="${pkgdir}/usr/include/hypre" --enable-shared \
--with-superlu --with-superlu-include=/usr/include/superlu --with-superlu-lib="-lsuperlu" \
--with-dsuperlu --with-dsuperlu-include=/usr/include/superlu_dist --with-dsuperlu-lib="-lsuperlu_dist" \
--with-fei --with-blas --with-lapack --with-openmp --enable-fortran --with-mli --with-MPI