commit: 45de6488b2676f74241d403010dee8b6e6ec5a3e Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> AuthorDate: Sat Jun 28 18:07:20 2025 +0000 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> CommitDate: Sat Jun 28 21:51:31 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45de6488
sci-mathematics/petsc: add USE=cuda to avoid automagic dependency... Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> sci-mathematics/petsc/petsc-3.23.3.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/petsc/petsc-3.23.3.ebuild b/sci-mathematics/petsc/petsc-3.23.3.ebuild index a78891269ca9..2bd0a5ab5faa 100644 --- a/sci-mathematics/petsc/petsc-3.23.3.ebuild +++ b/sci-mathematics/petsc/petsc-3.23.3.ebuild @@ -14,8 +14,8 @@ SRC_URI="https://web.cels.anl.gov/projects/petsc/download/release-snapshots/${P} LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="afterimage boost complex-scalars debug +examples fftw -fortran hdf5 hypre int64 mpi metis mumps scotch superlu threads X" +IUSE="afterimage boost complex-scalars cuda debug +examples fftw fortran + hdf5 hypre int64 mpi metis mumps scotch superlu threads X" # readd sparse when suitesparse-5.6.0 is in tree # sparse? ( >=sci-libs/suitesparse-5.6.0 >=sci-libs/cholmod-1.7.0 ) @@ -26,6 +26,7 @@ RDEPEND=" afterimage? ( media-libs/libafterimage ) boost? ( dev-libs/boost ) + cuda? ( >=dev-util/nvidia-cuda-toolkit-3.2 ) fftw? ( sci-libs/fftw:3.0[mpi?] ) hdf5? ( sci-libs/hdf5:=[mpi?] ) hypre? ( >=sci-libs/hypre-2.18.0[int64?,mpi?] ) @@ -154,6 +155,7 @@ src_configure() { --with-shared-libraries \ --with-single-library \ --with-windows-graphics=0 \ + $(petsc_enable cuda cudac) \ $(petsc_enable debug debugging) \ $(petsc_enable fortran) \ $(petsc_enable mpi) \
