From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2C04B158090 for ; Thu, 26 May 2022 01:27:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4E4E9E0849; Thu, 26 May 2022 01:27:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F37E7E0849 for ; Thu, 26 May 2022 01:27:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 15D76341602 for ; Thu, 26 May 2022 01:27:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C97A4C8 for ; Thu, 26 May 2022 01:27:01 +0000 (UTC) From: "Matthias Maier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthias Maier" Message-ID: <1653528414.52f8f0e9c07b4122b5dbdfeb068ed79b0b9ca2f5.tamiko@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/petsc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/petsc/petsc-3.17.1.ebuild X-VCS-Directories: sci-mathematics/petsc/ X-VCS-Committer: tamiko X-VCS-Committer-Name: Matthias Maier X-VCS-Revision: 52f8f0e9c07b4122b5dbdfeb068ed79b0b9ca2f5 X-VCS-Branch: master Date: Thu, 26 May 2022 01:27:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7dd7cfe3-6d73-4e86-b865-edd09c7e1ffc X-Archives-Hash: a81fbbfaf44708b83d1d9e9f7c2140b4 commit: 52f8f0e9c07b4122b5dbdfeb068ed79b0b9ca2f5 Author: Matthias Maier gentoo org> AuthorDate: Thu May 26 00:52:50 2022 +0000 Commit: Matthias Maier gentoo 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 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) \