From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/hypre/
Date: Sat, 27 Mar 2021 02:58:02 +0000 (UTC) [thread overview]
Message-ID: <1616813861.82d812386cd653b498ce02733f38d7deea991f95.sam@gentoo> (raw)
commit: 82d812386cd653b498ce02733f38d7deea991f95
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 27 02:49:04 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 27 02:57:41 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82d81238
sci-libs/hypre: drop useless cmake.eclass inherit in 2.18.2
Closes: https://bugs.gentoo.org/681580
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{hypre-2.18.2.ebuild => hypre-2.18.2-r1.ebuild} | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/sci-libs/hypre/hypre-2.18.2.ebuild b/sci-libs/hypre/hypre-2.18.2-r1.ebuild
similarity index 86%
rename from sci-libs/hypre/hypre-2.18.2.ebuild
rename to sci-libs/hypre/hypre-2.18.2-r1.ebuild
index 2b5614b59ac..e47dfb45334 100644
--- a/sci-libs/hypre/hypre-2.18.2.ebuild
+++ b/sci-libs/hypre/hypre-2.18.2-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
FORTRAN_NEEDED=fortran
-inherit cmake-utils fortran-2 toolchain-funcs flag-o-matic
+inherit fortran-2 toolchain-funcs flag-o-matic
DESCRIPTION="Parallel matrix preconditioners library"
HOMEPAGE="https://computation.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods"
@@ -16,24 +16,24 @@ SLOT="0/${PV}"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="debug examples fortran int64 openmp mpi"
+BDEPEND="virtual/pkgconfig"
RDEPEND="
sci-libs/superlu:=
virtual/blas
virtual/lapack
mpi? ( virtual/mpi )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+DEPEND="${RDEPEND}"
DOCS=( CHANGELOG COPYRIGHT README )
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] &&\
- use openmp && [[ $(tc-getCC)$ == *gcc* ]] && tc-check-openmp
+ use openmp && [[ $(tc-getCC) == *gcc* ]] && tc-check-openmp
}
pkg_setup() {
if [[ ${MERGE_TYPE} != binary ]] && \
- use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp ; then
+ 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
@@ -56,11 +56,11 @@ src_prepare() {
src_configure() {
tc-export CC CXX
append-flags -Dhypre_dgesvd=dgesvd_
- use openmp && [[ $(tc-getCC)$ == *gcc* ]] && \
+ use openmp && [[ $(tc-getCC) == *gcc* ]] && \
append-flags -fopenmp && append-ldflags -fopenmp
use mpi && CC=mpicc FC=mpif77 CXX=mpicxx
- cd src
+ cd src || die
# without-superlu: means do not use bundled one
econf \
@@ -93,7 +93,8 @@ src_install() {
emake -C src install \
HYPRE_INSTALL_DIR="${ED}" \
HYPRE_LIB_INSTALL="${ED}/usr/$(get_libdir)" \
- HYPRE_INC_INSTALL="${ED}$/usr/include/hypre"
+ HYPRE_INC_INSTALL="${ED}/usr/include/hypre"
+
if use examples; then
dodoc -r src/examples
fi
next reply other threads:[~2021-03-27 2:58 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-27 2:58 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-06-09 16:42 [gentoo-commits] repo/gentoo:master commit in: sci-libs/hypre/ Arthur Zamarin
2022-06-11 8:44 Matthias Maier
2022-05-14 21:30 David Seifert
2021-12-01 6:37 Yixun Lan
2021-05-27 21:06 David Seifert
2021-05-27 21:06 David Seifert
2021-04-25 21:02 Sam James
2021-03-27 4:53 Sam James
2021-03-27 2:58 Sam James
2021-03-27 2:58 Sam James
2021-01-17 11:52 David Seifert
2020-12-12 23:31 Sam James
2020-12-12 22:20 Sam James
2020-12-07 15:27 Sam James
2020-12-07 15:27 Sam James
2020-01-14 14:56 Agostino Sarubbo
2019-11-20 16:12 Matthias Maier
2019-11-14 21:45 Matthias Maier
2019-11-14 6:13 Matthias Maier
2019-11-14 6:13 Matthias Maier
2018-04-23 1:52 Matthias Maier
2018-04-23 1:04 Matthias Maier
2016-12-19 23:51 Sebastien Fabbro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1616813861.82d812386cd653b498ce02733f38d7deea991f95.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox