summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-cpp/eigen/eigen-3.3.1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-cpp/eigen/eigen-3.3.1.ebuild b/dev-cpp/eigen/eigen-3.3.1.ebuild
index fb5d8fe1c2f3..7c58917c989c 100644
--- a/dev-cpp/eigen/eigen-3.3.1.ebuild
+++ b/dev-cpp/eigen/eigen-3.3.1.ebuild
@@ -62,6 +62,10 @@ src_prepare() {
if ! use test; then
sed -i CMakeLists.txt \
+ -e "/add_subdirectory(test/d" \
+ || die "sed disable tests failed"
+
+ sed -i CMakeLists.txt \
-e "/add_subdirectory(blas/d" \
-e "/add_subdirectory(lapack/d" \
|| die "sed disable unused bundles failed"
@@ -81,7 +85,6 @@ src_compile() {
src_test() {
local mycmakeargs=(
- -DEIGEN_BUILD_TESTS=ON
-DEIGEN_TEST_ALTIVEC="$(usex altivec)"
-DEIGEN_TEST_CXX11="$(usex c++11)"
-DEIGEN_TEST_CUDA="$(usex cuda)"