summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-06-18 20:20:15 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-06-18 20:20:59 -0700
commitb4885d8684dc6dc72707abb17ef0e415acab4007 (patch)
treee99a89b2be8e770990a2debbe9570c925e04abc5 /dev-cpp
parentdev-libs/keystone: revbump, fix a lot of bugs (diff)
downloadgentoo-b4885d8684dc6dc72707abb17ef0e415acab4007.tar.gz
gentoo-b4885d8684dc6dc72707abb17ef0e415acab4007.tar.bz2
gentoo-b4885d8684dc6dc72707abb17ef0e415acab4007.zip
dev-cpp/eigen: use CPU_FLAGC_PPC, add vsx cpuflag
Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/eigen/eigen-3.3.7.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-cpp/eigen/eigen-3.3.7.ebuild b/dev-cpp/eigen/eigen-3.3.7.ebuild
index 25453c922e94..8d2a3fc5fac9 100644
--- a/dev-cpp/eigen/eigen-3.3.7.ebuild
+++ b/dev-cpp/eigen/eigen-3.3.7.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
LICENSE="MPL-2.0"
SLOT="3"
KEYWORDS="amd64 ~arm arm64 ~ia64 ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
-IUSE="altivec c++11 cpu_flags_arm_neon cuda debug doc openmp test" #zvector vsx
+IUSE="c++11 cpu_flags_arm_neon cpu_flags_ppc_altivec cpu_flags_ppc_vsx cuda debug doc openmp test" #zvector
RESTRICT="!test? ( test )"
RDEPEND="!dev-cpp/eigen:0"
@@ -84,11 +84,12 @@ src_compile() {
src_test() {
local mycmakeargs=(
-DEIGEN_TEST_NOQT=ON
- -DEIGEN_TEST_ALTIVEC="$(usex altivec)"
+ -DEIGEN_TEST_ALTIVEC="$(usex cpu_flags_ppc_altivec)"
-DEIGEN_TEST_CXX11="$(usex c++11)"
-DEIGEN_TEST_CUDA="$(usex cuda)"
-DEIGEN_TEST_OPENMP="$(usex openmp)"
-DEIGEN_TEST_NEON64="$(usex cpu_flags_arm_neon)"
+ -DEIGEN_TEST_VSX="$(usex cpu_flags_ppc_vsx)"
)
cmake-utils_src_configure
cmake-utils_src_compile blas