From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
Date: Sat, 14 May 2022 21:30:38 +0000 (UTC) [thread overview]
Message-ID: <1652563827.18aa29a9cc9ee5434c0d9664ba526c74444912d5.soap@gentoo> (raw)
commit: 18aa29a9cc9ee5434c0d9664ba526c74444912d5
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat May 14 21:30:27 2022 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat May 14 21:30:27 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18aa29a9
sci-libs/sundials: [QA] tc-has-openmp → tc-check-openmp
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-libs/sundials/sundials-5.2.0.ebuild | 12 +++++++-----
sci-libs/sundials/sundials-5.8.0.ebuild | 12 +++++++-----
2 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/sci-libs/sundials/sundials-5.2.0.ebuild b/sci-libs/sundials/sundials-5.2.0.ebuild
index c99c2b643966..5af24cd4ed75 100644
--- a/sci-libs/sundials/sundials-5.2.0.ebuild
+++ b/sci-libs/sundials/sundials-5.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -31,11 +31,13 @@ DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}"/${P}-fix-license-install-path.patch )
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
pkg_setup() {
- if [[ ${MERGE_TYPE} != binary ]] && use openmp && [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
- ewarn "OpenMP is not available in your current selected gcc"
- die "need openmp capable gcc"
- fi
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+ use fortran && fortran-2_pkg_setup
}
src_prepare() {
diff --git a/sci-libs/sundials/sundials-5.8.0.ebuild b/sci-libs/sundials/sundials-5.8.0.ebuild
index 623a8cee16ed..517e32342ded 100644
--- a/sci-libs/sundials/sundials-5.8.0.ebuild
+++ b/sci-libs/sundials/sundials-5.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -39,11 +39,13 @@ PATCHES=(
"${FILESDIR}"/${P}-fix-license-install-path.patch
)
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
pkg_setup() {
- if [[ ${MERGE_TYPE} != binary ]] && use openmp && [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
- ewarn "OpenMP is not available in your current selected gcc"
- die "need openmp capable gcc"
- fi
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+ use fortran && fortran-2_pkg_setup
}
src_prepare() {
next reply other threads:[~2022-05-14 21:30 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-14 21:30 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-13 1:50 [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/ Sam James
2024-09-20 22:28 Matthias Maier
2024-07-04 16:53 Matthias Maier
2024-03-24 6:57 Sam James
2023-03-04 13:51 Arthur Zamarin
2023-01-02 18:22 Matthias Maier
2022-08-03 23:45 Sam James
2022-07-07 6:34 Agostino Sarubbo
2022-05-17 22:12 Sam James
2021-12-13 6:57 Agostino Sarubbo
2021-12-01 6:37 Yixun Lan
2021-10-12 22:23 Marek Szuba
2021-10-12 22:23 Marek Szuba
2021-10-04 19:35 Jakov Smolić
2021-10-04 10:09 Jakov Smolić
2021-07-16 5:27 Sam James
2021-02-27 5:16 Sam James
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-10-09 15:23 Agostino Sarubbo
2020-06-06 0:28 Andreas Sturmlechner
2020-01-14 14:56 Agostino Sarubbo
2019-07-30 15:12 Matthias Maier
2019-07-16 13:21 Matthias Maier
2019-07-15 21:35 Matthias Maier
2018-05-16 22:57 Aaron Bauman
2018-04-24 16:19 Matthias Maier
2018-04-24 15:58 Matthias Maier
2018-03-20 4:16 Matthias Maier
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=1652563827.18aa29a9cc9ee5434c0d9664ba526c74444912d5.soap@gentoo \
--to=soap@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