aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2015-01-29 23:28:28 +0100
committerMatthias Maier <tamiko@gentoo.org>2015-01-29 23:28:28 +0100
commitc932565c4719295cadac1afc488d304363e12342 (patch)
tree6d6207449d38a64eaeecc6726c4169eeb21754bf /sci-libs/dealii/dealii-9999.ebuild
parentMerge pull request #354 from chatcannon/Mantid (diff)
downloadsci-c932565c4719295cadac1afc488d304363e12342.tar.gz
sci-c932565c4719295cadac1afc488d304363e12342.tar.bz2
sci-c932565c4719295cadac1afc488d304363e12342.zip
Convert to CPU_FLAGS_X86
Package-Manager: portage-2.2.15
Diffstat (limited to 'sci-libs/dealii/dealii-9999.ebuild')
-rw-r--r--sci-libs/dealii/dealii-9999.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 01a7a1c0a..2774e75cb 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -31,9 +31,10 @@ fi
LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="
- arpack avx c++11 +debug doc +examples hdf5 +lapack mesh_converter metis
- mpi muparser opencascade netcdf p4est parameter_gui petsc +sparse
- sse2 static-libs +tbb trilinos
+ arpack cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_sse2 c++11
+ +debug doc +examples hdf5 +lapack mesh_converter metis mpi muparser
+ opencascade netcdf p4est parameter_gui petsc +sparse static-libs +tbb
+ trilinos
"
# TODO: add slepc use flag once slepc is packaged for gentoo-science
@@ -79,8 +80,10 @@ src_configure() {
-DDEAL_II_WITH_BZIP2=ON
-DDEAL_II_WITH_ZLIB=ON
$(cmake-utils_use arpack DEAL_II_WITH_ARPACK)
- $(cmake-utils_use avx DEAL_II_HAVE_AVX)
$(cmake-utils_use c++11 DEAL_II_WITH_CXX11)
+ $(cmake-utils_use cpu_flags_x86_avx DEAL_II_HAVE_AVX)
+ $(cmake-utils_use cpu_flags_x86_avx2 DEAL_II_HAVE_AVX512)
+ $(cmake-utils_use cpu_flags_x86_sse2 DEAL_II_HAVE_SSE2)
$(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION)
$(cmake-utils_use examples DEAL_II_COMPONENT_EXAMPLES)
$(cmake-utils_use hdf5 DEAL_II_WITH_HDF5)
@@ -96,7 +99,6 @@ src_configure() {
$(cmake-utils_use parameter_gui DEAL_II_COMPONENT_PARAMETER_GUI)
$(cmake-utils_use petsc DEAL_II_WITH_PETSC)
$(cmake-utils_use sparse DEAL_II_WITH_UMFPACK)
- $(cmake-utils_use sse2 DEAL_II_HAVE_SSE2)
$(cmake-utils_use !static-libs BUILD_SHARED_LIBS)
$(cmake-utils_use static-libs DEAL_II_PREFER_STATIC_LIBS)
$(cmake-utils_use tbb DEAL_II_WITH_THREADS)