aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2017-05-25 10:51:48 -0500
committerMatthias Maier <tamiko@gentoo.org>2017-05-25 10:51:48 -0500
commitcbcfc008bd0422cb2561e06c1045688489a35ae1 (patch)
tree392abc743d93b4379325fccd55d8e58f644a19bf /sci-libs/dealii/dealii-9999.ebuild
parentsci-mathematics/slepc: initial commit (diff)
downloadsci-cbcfc008bd0422cb2561e06c1045688489a35ae1.tar.gz
sci-cbcfc008bd0422cb2561e06c1045688489a35ae1.tar.bz2
sci-cbcfc008bd0422cb2561e06c1045688489a35ae1.zip
sci-libs/dealii: add support for slepc
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'sci-libs/dealii/dealii-9999.ebuild')
-rw-r--r--sci-libs/dealii/dealii-9999.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 6378e4b61..c66ac8a72 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -35,12 +35,13 @@ SLOT="0"
IUSE="
arpack cpu_flags_x86_avx cpu_flags_x86_sse2 c++11 +debug doc +examples
+gsl hdf5 +lapack metis mpi muparser opencascade netcdf p4est petsc
- +sparse static-libs +tbb trilinos
+ slepc +sparse static-libs +tbb trilinos
"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
REQUIRED_USE="
p4est? ( mpi )
+ slepc? ( petsc )
trilinos? ( mpi )"
RDEPEND="dev-libs/boost
@@ -57,6 +58,7 @@ RDEPEND="dev-libs/boost
opencascade? ( sci-libs/opencascade:* )
p4est? ( sci-libs/p4est[mpi] )
petsc? ( sci-mathematics/petsc[mpi=] )
+ slepc? ( sci-mathematics/slepc[mpi=] )
sparse? ( sci-libs/umfpack )
tbb? ( dev-cpp/tbb )
trilinos? ( sci-libs/trilinos )"
@@ -101,6 +103,7 @@ src_configure() {
-DDEAL_II_WITH_OPENCASCADE="$(usex opencascade)"
-DDEAL_II_WITH_P4EST="$(usex p4est)"
-DDEAL_II_WITH_PETSC="$(usex petsc)"
+ -DDEAL_II_WITH_SLEPC="$(usex slepc)"
-DDEAL_II_WITH_UMFPACK="$(usex sparse)"
-DBUILD_SHARED_LIBS="$(usex !static-libs)"
-DDEAL_II_PREFER_STATIC_LIBS="$(usex static-libs)"