From: "Matthias Maier" <tamiko@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/petsc/
Date: Thu, 26 May 2022 01:27:01 +0000 (UTC) [thread overview]
Message-ID: <1653528414.52f8f0e9c07b4122b5dbdfeb068ed79b0b9ca2f5.tamiko@gentoo> (raw)
commit: 52f8f0e9c07b4122b5dbdfeb068ed79b0b9ca2f5
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu May 26 00:52:50 2022 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu May 26 01:26:54 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52f8f0e9
sci-mathematics/petsc: drop superfluous USE=cxx
Closes: https://bugs.gentoo.org/846434
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
sci-mathematics/petsc/petsc-3.17.1.ebuild | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/sci-mathematics/petsc/petsc-3.17.1.ebuild b/sci-mathematics/petsc/petsc-3.17.1.ebuild
index d75bccaa9f8f..241199f5fa1c 100644
--- a/sci-mathematics/petsc/petsc-3.17.1.ebuild
+++ b/sci-mathematics/petsc/petsc-3.17.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="afterimage boost complex-scalars cxx debug fftw
+IUSE="afterimage boost complex-scalars debug fftw
fortran hdf5 hypre int64 mpi metis mumps scotch superlu threads X"
# readd sparse when suitesparse-5.6.0 is in tree
@@ -30,7 +30,7 @@ RDEPEND="
hdf5? ( sci-libs/hdf5[mpi?] )
hypre? ( >=sci-libs/hypre-2.18.0[int64?,mpi?] )
metis? ( >=sci-libs/parmetis-4 )
- mpi? ( virtual/mpi[cxx?,fortran?] )
+ mpi? ( virtual/mpi[fortran?] )
mumps? ( sci-libs/mumps[mpi?] sci-libs/scalapack )
scotch? ( sci-libs/scotch[int64?,mpi?] )
superlu? ( >=sci-libs/superlu-5 )
@@ -52,7 +52,7 @@ REQUIRED_USE="
afterimage? ( X )
complex-scalars? ( !hypre !superlu )
hdf5? ( mpi )
- hypre? ( cxx mpi !superlu )
+ hypre? ( mpi !superlu )
mumps? ( mpi scotch )
scotch? ( mpi )
superlu? ( !hypre )
@@ -112,16 +112,14 @@ src_configure() {
# bug 810841
addpredict /dev/kfd
- local mylang
local myopt
- use cxx && mylang="cxx" || mylang="c"
use debug && myopt="debug" || myopt="opt"
# environmental variables expected by petsc during build
export PETSC_DIR="${S}"
- export PETSC_ARCH="linux-gnu-${mylang}-${myopt}"
+ export PETSC_ARCH="linux-gnu-c-${myopt}"
if use debug; then
strip-flags
@@ -147,7 +145,6 @@ src_configure() {
RANLIB="${RANLIB}" \
--prefix="${EPREFIX}/usr/$(get_libdir)/petsc" \
--with-blas-lapack-lib="$($(tc-getPKG_CONFIG) --libs blas lapack)" \
- --with-clanguage="${mylang}" \
--with-cmake:BOOL=1 \
--with-gnu-compilers \
--with-imagemagick=0 \
@@ -171,7 +168,6 @@ src_configure() {
$(petsc_with superlu superlu /usr/include/superlu -lsuperlu) \
$(petsc_with scotch ptscotch /usr/include/scotch [-lptesmumps,-lptscotch,-lptscotcherr,-lscotch,-lscotcherr]) \
$(petsc_with mumps scalapack /usr/include/scalapack -lscalapack) \
- $(use cxx && ! use complex-scalars && echo "--with-c-support=1") \
$(use fortran && echo "$(petsc_select mpi fc mpif77 $(tc-getF77))") \
$(use int64 && echo "--with-index-size=64") \
$(use_with boost) \
next reply other threads:[~2022-05-26 1:27 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-26 1:27 Matthias Maier [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-23 3:40 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/petsc/ Eli Schwartz
2024-04-23 20:37 Sam James
2024-03-20 6:26 Sam James
2024-03-20 6:26 Sam James
2024-03-20 6:26 Sam James
2024-03-20 6:26 Sam James
2023-08-06 12:13 Matthias Maier
2023-06-19 18:37 Matthias Maier
2023-05-07 18:59 Matthias Maier
2022-12-28 6:48 Matthias Maier
2022-08-26 10:46 Sam James
2022-06-03 3:57 Sam James
2022-06-03 3:15 Sam James
2022-05-26 1:27 Matthias Maier
2022-01-04 15:17 Andrew Ammerlaan
2021-11-08 12:31 Andrew Ammerlaan
2021-10-17 19:25 Arthur Zamarin
2021-04-17 0:15 Matthias Maier
2021-04-09 18:26 Matthias Maier
2021-04-09 18:26 Matthias Maier
2020-06-27 20:45 Andreas K. Hüttel
2020-05-10 22:02 Matthias Maier
2019-11-14 23:26 Matthias Maier
2019-11-14 6:13 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=1653528414.52f8f0e9c07b4122b5dbdfeb068ed79b0b9ca2f5.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