diff options
Diffstat (limited to 'sci-libs/hypre')
-rw-r--r-- | sci-libs/hypre/Manifest | 6 | ||||
-rw-r--r-- | sci-libs/hypre/hypre-2.14.0.ebuild | 107 | ||||
-rw-r--r-- | sci-libs/hypre/hypre-2.18.0.ebuild | 101 | ||||
-rw-r--r-- | sci-libs/hypre/metadata.xml | 1 |
4 files changed, 1 insertions, 214 deletions
diff --git a/sci-libs/hypre/Manifest b/sci-libs/hypre/Manifest index 9967f0119622..3955244a48f5 100644 --- a/sci-libs/hypre/Manifest +++ b/sci-libs/hypre/Manifest @@ -1,7 +1,3 @@ -DIST hypre-2.14.0.tar.gz 7312329 BLAKE2B 93de48bdd05c383c74fb1b3b25ddcd5830be099aa7557262547932e17eba524c25ff69ff94d10f29ffdabfef9c05281fd485a7c9b999141f2488ae4fc0238736 SHA512 c7b59fb7ab1cc906e339fcc00603898e44234a65aa74600f740bc825aa94aa66ff0cbd4bd4b7f339c0d28ff5bd9494f15b57f2017a22348fee14b4e8333f1e6c -DIST hypre-2.18.0.tar.gz 5698227 BLAKE2B e6562b78dcff6592a7df86d2162e3669c9ea3f71cc8926402038da319cb6c1b801a7ac5e44612ba86762ccdd63ae30cd2976451368309622b46e67a7a7dc1d83 SHA512 41292d590285703b5fb91c767fc9d064e36911f09583a81a3da9f2b5524143b23bb1beba3449d759e3f681760d9ad155072e1762d7d6bbe0e65660d5b16c472a DIST hypre-2.18.2.tar.gz 5699792 BLAKE2B 6adb343d23594adea60a4009f589285236365a5769b1d5cb66908ce83984dd48b3be929e6c7298c7b9cb1e2d67b1fe7ea641c8a160562d223edb9809977fb684 SHA512 7b343a5c8530d7f5e31cad6c940c2f154b2b954566d4fe8525d690fec41db23936a46fb642a994791de32984e696c624804fb1fde1f0c9ce026f1a6e46b9c0f4 -EBUILD hypre-2.14.0.ebuild 2929 BLAKE2B d3e32bd55d00422686ef432e4ec4c63fe133342494f29255c71d86f98ed31a3eee6fdd66b68f32ab194420197994f11d9cc767675afe65367cd85bb7fefbddab SHA512 9024f6db0d7f7cd460a6a639915d3aa7f73d6048a0ecc70fe88b928cf445d6398a206822cade66b237e9fdbee2ad1b6e443c0870ad3fb67532c05409406f98d6 -EBUILD hypre-2.18.0.ebuild 2729 BLAKE2B b8d20ca170850be57edd77b9ccb7136bdd5c06979d47fc8b5d5bfd890df99155ac6b2bc4ff74a6536e17811faf7b611dbaf97a54231aa27d91809d9062c08c39 SHA512 c21bb95634bd5a9fb0037d5e10dbfffed32b7e93888677c4df489518be63100360773388b621d97be37a14916e13a40971dc846d10a49d082c774efed0ca3558 EBUILD hypre-2.18.2.ebuild 2751 BLAKE2B 7bbde7d8fa2035ee2304da1589f766b5e6dedf5c6859324d54ff23d8d05e740dbbaa1ca579594b98da3e4c4640890de466eddfc95a98dc383e046f12ea013637 SHA512 50f6d8c66e1c1b98ba4ca54d78e4a34f807ee6aa5cacf3e9f28cf1f355d9f777286444270eca6946daf90411bfaf92c065d7971088a178d7bec30e2c95dc9744 -MISC metadata.xml 689 BLAKE2B 81168f6d150dc65e74bbae7b73657d2ef6c5de0cfcb616b9f1dd756e9734e10823c1468cc1725f8681dfb71d529c89c958e751100aa9727dcc28e36c8f27fd2b SHA512 fb10f8f67754f103b109fa7696e66e02f6a66ff74472341f3e2dcb27957646fd4140594c9eee489c3d47f1985bf8a122b48269c6a6168ddbfcdcd0ffe2a415e2 +MISC metadata.xml 608 BLAKE2B b38da1761e74a20f40607ae258caf7e1482dfb6b0e85a770fd63d2cfb7c7a046667a0256409836859fe34900a8e4f7f1457a16aa8325c52a2c48da2db2658e88 SHA512 63208b23e52f588f7cd1931fa47cc6c9216c0b0d1ebb7d4e4d11a20e747a7f88d9be28e79e02c057c092c7b40f9d88ea91db2fbce2b4b8dbc83a38224b3e8d9e diff --git a/sci-libs/hypre/hypre-2.14.0.ebuild b/sci-libs/hypre/hypre-2.14.0.ebuild deleted file mode 100644 index a7d775a6c575..000000000000 --- a/sci-libs/hypre/hypre-2.14.0.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -FORTRAN_NEEDED=fortran - -inherit cmake-utils fortran-2 toolchain-funcs flag-o-matic - -DESCRIPTION="Parallel matrix preconditioners library" -HOMEPAGE="https://computation.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods" -SRC_URI="https://github.com/LLNL/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="debug doc examples fei fortran int64 openmp mpi" - -RDEPEND=" - sci-libs/superlu:= - virtual/blas - virtual/lapack - mpi? ( virtual/mpi )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -DOCS=( CHANGELOG COPYRIGHT README ) - -# 2.11.1: fei and mli wrappers still buggy with big integers -REQUIRED_USE="int64? ( !fei )" - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] &&\ - use openmp && [[ $(tc-getCC)$ == *gcc* ]] && tc-check-openmp -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]] && \ - use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp ; then - ewarn "You are using a non capable gcc compiler ( < 4.2 ? )" - die "Need an OpenMP capable compiler" - fi -} - -src_prepare() { - default - # link with system superlu and propagate LDFLAGS - sed -e "s:@LIBS@:@LIBS@ $($(tc-getPKG_CONFIG) --libs superlu):" \ - -e 's:_SHARED@:_SHARED@ $(LDFLAGS):g' \ - -i src/config/Makefile.config.in || die - sed -e '/HYPRE_ARCH/s: = :=:g' \ - -i src/configure || die - # link with system blas and lapack - sed -e '/^BLASFILES/d' \ - -e '/^LAPACKFILES/d' \ - -i src/lib/Makefile || die -} - -src_configure() { - tc-export CC CXX - append-flags -Dhypre_dgesvd=dgesvd_ - use openmp && [[ $(tc-getCC)$ == *gcc* ]] && \ - append-flags -fopenmp && append-ldflags -fopenmp - use mpi && CC=mpicc FC=mpif77 CXX=mpicxx - - cd src - - # without-superlu: means do not use bundled one - econf \ - --enable-shared \ - --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')" \ - --with-timing \ - --without-superlu \ - $(use_enable debug) \ - $(use_enable openmp hopscotch) \ - $(use_enable int64 bigint) \ - $(use_enable fortran) \ - $(use_with fei) \ - $(use_with fei mli) \ - $(use_with openmp) \ - $(use_with mpi MPI) -} - -src_compile() { - emake -C src -} - -src_test() { - LD_LIBRARY_PATH="${S}/src/lib:${LD_LIBRARY_PATH}" \ - PATH="${S}/src/test:${PATH}" \ - emake -C src check -} - -src_install() { - emake -C src install \ - HYPRE_INSTALL_DIR="${ED}" \ - HYPRE_LIB_INSTALL="${ED}/usr/$(get_libdir)" \ - HYPRE_INC_INSTALL="${ED}$/usr/include/hypre" - use doc && dodoc docs/*.pdf - if use examples; then - insinto /usr/share/doc/${PF} - doins -r src/examples - fi -} diff --git a/sci-libs/hypre/hypre-2.18.0.ebuild b/sci-libs/hypre/hypre-2.18.0.ebuild deleted file mode 100644 index 7f9dd4cc4b14..000000000000 --- a/sci-libs/hypre/hypre-2.18.0.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -FORTRAN_NEEDED=fortran - -inherit cmake-utils fortran-2 toolchain-funcs flag-o-matic - -DESCRIPTION="Parallel matrix preconditioners library" -HOMEPAGE="https://computation.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods" -SRC_URI="https://github.com/${PN}-space/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="debug examples fortran int64 openmp mpi" - -RDEPEND=" - sci-libs/superlu:= - virtual/blas - virtual/lapack - mpi? ( virtual/mpi )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -DOCS=( CHANGELOG COPYRIGHT README ) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] &&\ - use openmp && [[ $(tc-getCC)$ == *gcc* ]] && tc-check-openmp -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]] && \ - use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp ; then - ewarn "You are using a non capable gcc compiler ( < 4.2 ? )" - die "Need an OpenMP capable compiler" - fi -} - -src_prepare() { - default - # link with system superlu and propagate LDFLAGS - sed -e "s:@LIBS@:@LIBS@ $($(tc-getPKG_CONFIG) --libs superlu):" \ - -e 's:_SHARED@:_SHARED@ $(LDFLAGS):g' \ - -i src/config/Makefile.config.in || die - sed -e '/HYPRE_ARCH/s: = :=:g' \ - -i src/configure || die - # link with system blas and lapack - sed -e '/^BLASFILES/d' \ - -e '/^LAPACKFILES/d' \ - -i src/lib/Makefile || die -} - -src_configure() { - tc-export CC CXX - append-flags -Dhypre_dgesvd=dgesvd_ - use openmp && [[ $(tc-getCC)$ == *gcc* ]] && \ - append-flags -fopenmp && append-ldflags -fopenmp - use mpi && CC=mpicc FC=mpif77 CXX=mpicxx - - cd src - - # without-superlu: means do not use bundled one - econf \ - --enable-shared \ - --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')" \ - --with-timing \ - --without-superlu \ - $(use_enable debug) \ - $(use_enable openmp hopscotch) \ - $(use_enable int64 bigint) \ - $(use_enable fortran) \ - $(use_with openmp) \ - $(use_with mpi MPI) -} - -src_compile() { - emake -C src -} - -src_test() { - LD_LIBRARY_PATH="${S}/src/lib:${LD_LIBRARY_PATH}" \ - PATH="${S}/src/test:${PATH}" \ - emake -C src check -} - -src_install() { - emake -C src install \ - HYPRE_INSTALL_DIR="${ED}" \ - HYPRE_LIB_INSTALL="${ED}/usr/$(get_libdir)" \ - HYPRE_INC_INSTALL="${ED}$/usr/include/hypre" - - if use examples; then - dodoc -r src/examples - fi -} diff --git a/sci-libs/hypre/metadata.xml b/sci-libs/hypre/metadata.xml index 48b9bd61f1b4..d245803317be 100644 --- a/sci-libs/hypre/metadata.xml +++ b/sci-libs/hypre/metadata.xml @@ -14,6 +14,5 @@ </upstream> <use> <flag name="int64">Build the 64 bits integer library</flag> - <flag name="fei">Build the internal Finite Element Interface routines</flag> </use> </pkgmetadata> |