public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matthias Maier" <tamiko@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/trilinos/
Date: Mon, 23 May 2022 03:03:24 +0000 (UTC)	[thread overview]
Message-ID: <1653274912.c4b2df23b4a28e62806cf3ee8e082d2b1a73e22f.tamiko@gentoo> (raw)

commit:     c4b2df23b4a28e62806cf3ee8e082d2b1a73e22f
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon May 23 02:57:48 2022 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon May 23 03:01:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4b2df23

sci-libs/trilinos: ebuild maintenance

 - fix automagic detection of openmp
 - disable Adelus package

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 ...ilinos-13.0.1-r2.ebuild => trilinos-13.0.1-r3.ebuild} | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/sci-libs/trilinos/trilinos-13.0.1-r2.ebuild b/sci-libs/trilinos/trilinos-13.0.1-r3.ebuild
similarity index 94%
rename from sci-libs/trilinos/trilinos-13.0.1-r2.ebuild
rename to sci-libs/trilinos/trilinos-13.0.1-r3.ebuild
index b4408c0d397a..29c01b3b1752 100644
--- a/sci-libs/trilinos/trilinos-13.0.1-r2.ebuild
+++ b/sci-libs/trilinos/trilinos-13.0.1-r3.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
@@ -19,7 +19,7 @@ SLOT="0"
 
 IUSE="
 	adolc arprec clp cuda eigen glpk gtest hdf5 hwloc hypre
-	matio metis mkl mumps netcdf petsc qd scalapack scotch sparse
+	matio metis mkl mumps netcdf openmp petsc qd scalapack scotch sparse
 	superlu taucs tbb test threads tvmet yaml zlib X
 "
 
@@ -69,6 +69,14 @@ PATCHES=(
 	"${WORKDIR}"/patches
 )
 
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
 trilinos_conf() {
 	local dirs libs d
 	for d in $($(tc-getPKG_CONFIG) --libs-only-L $1); do
@@ -95,11 +103,13 @@ src_configure() {
 		-DTrilinos_INSTALL_INCLUDE_DIR="${EPREFIX}/usr/include/trilinos"
 		-DTrilinos_INSTALL_LIB_DIR="${EPREFIX}/usr/$(get_libdir)/trilinos"
 		-DTrilinos_ENABLE_ALL_PACKAGES=ON
+		-DTrilinos_ENABLE_OpenMP="$(usex openmp)"
 		-DTrilinos_ENABLE_PyTrilinos=OFF
-		-DTrilinos_ENABLE_SEACAS=OFF
 		-DTrilinos_ENABLE_SEACASChaco=OFF
 		-DTrilinos_ENABLE_SEACASExodiff="$(usex netcdf)"
 		-DTrilinos_ENABLE_SEACASExodus="$(usex netcdf)"
+		-DTrilinos_ENABLE_SEACAS=OFF
+		-DTrilinos_ENABLE_ADELUS=OFF
 		-DTrilinos_ENABLE_TESTS="$(usex test)"
 		-DTPL_ENABLE_BinUtils=ON
 		-DTPL_ENABLE_BLAS=ON


             reply	other threads:[~2022-05-23  3:03 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-23  3:03 Matthias Maier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-08-09 17:12 [gentoo-commits] repo/gentoo:master commit in: sci-libs/trilinos/ Matthias Maier
2025-08-09 16:08 Matthias Maier
2025-07-16 22:50 Matthias Maier
2025-07-16 22:50 Matthias Maier
2025-05-18 21:48 Matthias Maier
2025-05-18 21:48 Matthias Maier
2025-05-18  7:10 Matthias Maier
2025-05-18  7:10 Matthias Maier
2025-05-18  7:10 Matthias Maier
2024-07-23 17:04 Matthias Maier
2024-06-10 22:19 Matthias Maier
2024-06-10 22:19 Matthias Maier
2023-12-07  5:23 Matthias Maier
2023-12-07  5:23 Matthias Maier
2023-12-07  5:23 Matthias Maier
2023-08-16  5:27 Matthias Maier
2023-06-21 22:48 Matthias Maier
2023-05-23 23:10 Matthias Maier
2023-05-23 13:05 Matthias Maier
2023-05-23 11:03 Matthias Maier
2022-12-19 14:47 Andreas Sturmlechner
2022-11-30  4:29 Matthias Maier
2022-06-14  3:41 Matthias Maier
2022-06-14  3:41 Matthias Maier
2022-06-14  3:41 Matthias Maier
2022-06-13 22:48 Matthias Maier
2022-06-13 22:41 Matthias Maier
2022-06-13 21:58 Matthias Maier
2022-06-12  6:28 Matthias Maier
2022-06-12  6:06 Matthias Maier
2022-06-12  4:43 Matthias Maier
2022-06-12  3:51 Matthias Maier
2022-06-11  8:44 Matthias Maier
2021-12-28 22:00 Sam James
2021-11-12  5:03 Matthias Maier
2021-11-12  4:57 Matthias Maier
2021-11-12  4:57 Matthias Maier
2021-10-29 22:23 Sam James
2021-01-19  3:15 Sam James
2020-12-20 21:31 Matthias Maier
2020-12-20 21:31 Matthias Maier
2020-12-20 21:31 Matthias Maier
2020-10-24 21:26 Matthias Maier
2020-06-10 17:59 Matthias Maier
2020-04-25  4:38 Matthias Maier
2020-04-25  2:02 Matthias Maier
2020-04-24 18:48 Matthias Maier
2019-08-13  6:11 Matthias Maier
2019-08-06  5:06 Matthias Maier
2019-08-06  5:06 Matthias Maier
2019-08-05 13:30 Matthias Maier
2019-08-05  6:56 Matthias Maier
2019-08-05  6:52 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=1653274912.c4b2df23b4a28e62806cf3ee8e082d2b1a73e22f.tamiko@gentoo \
    --to=tamiko@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