diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-18 10:15:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-18 10:15:03 +0000 |
commit | b284a3168fa91a038925d2ecf5e4791011ea5e7d (patch) | |
tree | 16fe44748708acacd909d4e2e160a09a7f6d936a /sci-libs/hypre/hypre-2.9.0b.ebuild | |
parent | 77398e424e45d9e98c1cef3c43bdadb9d56e81ef (diff) |
gentoo resync : 18.11.2019
Diffstat (limited to 'sci-libs/hypre/hypre-2.9.0b.ebuild')
-rw-r--r-- | sci-libs/hypre/hypre-2.9.0b.ebuild | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/sci-libs/hypre/hypre-2.9.0b.ebuild b/sci-libs/hypre/hypre-2.9.0b.ebuild deleted file mode 100644 index 3228bd2a6524..000000000000 --- a/sci-libs/hypre/hypre-2.9.0b.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -FORTRAN_NEEDED=fortran - -inherit eutils fortran-2 toolchain-funcs - -DESCRIPTION="Parallel matrix preconditioners library" -HOMEPAGE="https://computation.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods" -SRC_URI="https://computation.llnl.gov/casc/hypre/download/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc examples fortran mpi" - -RDEPEND=" - sci-libs/superlu:0= - virtual/blas - virtual/lapack - mpi? ( virtual/mpi )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -DOCS=( "${WORKDIR}"/${P}/{CHANGELOG,COPYRIGHT,README} ) - -S="${WORKDIR}/${P}/src" - -src_prepare() { - # link with system superlu and propagate LDFLAGS - sed -i \ - -e 's:@LIBS@:@LIBS@ -lsuperlu:' \ - -e 's:_SHARED@:_SHARED@ $(LDFLAGS):g' \ - config/Makefile.config.in || die - sed -i \ - -e '/HYPRE_ARCH/s: = :=:g' \ - configure || die - # link with system blas and lapack - sed -i \ - -e '/^BLASFILES/d' \ - -e '/^LAPACKFILES/d' \ - lib/Makefile || die - use mpi && export CC=mpicc CXX=mpicxx FC=mpif77 - tc-export CC CXX -} - -src_configure() { - local myeconfargs=( - --enable-shared - --without-superlu - --with-blas-libs="$($(tc-getPKG_CONFIG) --libs-only-l blas | sed -e 's/-l//g')" - --with-blas-lib-dirs="$($(tc-getPKG_CONFIG) --libs-only-L blas | sed -e 's/-L//g')" - --with-lapack-libs="$($(tc-getPKG_CONFIG) --libs-only-l lapack | sed -e 's/-l//g')" - --with-lapack-lib-dirs="$($(tc-getPKG_CONFIG) --libs-only-L lapack | sed -e 's/-L//g')" - $(use_enable fortran) - $(use_with mpi MPI) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - dolib.so hypre/lib/lib* - insinto /usr/include/hypre - doins -r hypre/include/* - - use doc && dodoc "${WORKDIR}"/${P}/docs/*.pdf - if use examples; then - insinto /usr/share/doc/${PF} - doins -r examples - fi -} |