commit: e11efd7cb70768c1d331ed0969cef6246b29ab89
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 9 16:32:32 2025 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Jul 10 17:09:26 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e11efd7c
sci-libs/dealii: update live ebuild
- force C++20 standard for compatiblity with ArborX
- add USE=int64 for enabling the use of 64 bit indices
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
sci-libs/dealii/dealii-9999.ebuild | 6 ++++--
sci-libs/dealii/metadata.xml | 1 +
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/sci-libs/dealii/dealii-9999.ebuild
b/sci-libs/dealii/dealii-9999.ebuild
index 44b71904f9fb..874a61ad59e6 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -29,7 +29,7 @@ LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="
adolc arborx assimp arpack cgal cpu_flags_x86_avx cpu_flags_x86_avx512f
- cpu_flags_x86_sse2 +debug doc +examples ginkgo gmsh +gsl hdf5
+ cpu_flags_x86_sse2 +debug doc +examples ginkgo gmsh +gsl hdf5 int64
+lapack metis mpi muparser opencascade p4est petsc scalapack slepc
+sparse sundials symengine trilinos vtk
"
@@ -64,7 +64,7 @@ RDEPEND="dev-libs/boost:=
muparser? ( dev-cpp/muParser )
opencascade? ( sci-libs/opencascade:= )
p4est? ( sci-libs/p4est[mpi] )
- petsc? ( sci-mathematics/petsc[mpi=] )
+ petsc? ( sci-mathematics/petsc[mpi=,int64?] )
scalapack? ( sci-libs/scalapack )
slepc? ( sci-mathematics/slepc[mpi=] )
sparse? ( sci-libs/umfpack )
@@ -91,6 +91,7 @@ src_configure() {
local mycmakeargs=(
-DDEAL_II_PACKAGE_VERSION="${PV}"
+ -DCMAKE_CXX_STANDARD="20"
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF
-DDEAL_II_ALLOW_AUTODETECTION=OFF
-DDEAL_II_ALLOW_BUNDLED=OFF
@@ -104,6 +105,7 @@ src_configure() {
-DDEAL_II_SHARE_RELDIR="share/${PN}"
-DDEAL_II_COMPONENT_DOCUMENTATION="$(usex doc)"
-DDEAL_II_COMPONENT_EXAMPLES="$(usex examples)"
+ -DDEAL_II_WITH_64BIT_INDICES="$(usex int64)"
-DDEAL_II_WITH_ADOLC="$(usex adolc)"
-DDEAL_II_WITH_ARBORX="$(usex arborx)"
-DDEAL_II_WITH_ARPACK="$(usex arpack)"
diff --git a/sci-libs/dealii/metadata.xml b/sci-libs/dealii/metadata.xml
index 536f4dc63d37..32ce56a0993a 100644
--- a/sci-libs/dealii/metadata.xml
+++ b/sci-libs/dealii/metadata.xml
@@ -21,6 +21,7 @@
<flag name="arpack">Adds support for ARPACK
(<pkg>sci-libs/arpack</pkg>)</flag>
<flag name="cgal">Adds support for CGAL
(<pkg>sci-mathematics/cgal</pkg>)</flag>
<flag name="gmsh">Add support for gmsh
(<pkg>sci-libs/gmsh</pkg>)</flag>
+ <flag name="int64">Use 64 bit indexes</flag>
<flag name="metis">Add support for metis
(<pkg>sci-libs/metis</pkg>)</flag>
<flag name="muparser">Add support for muparser
(<pkg>dev-cpp/muParser</pkg>)</flag>
<flag name="opencascade">Add support for opencascade
(<pkg>sci-libs/opencascade</pkg>)</flag>