1 |
commit: e75fe5b590c251baf45963809a52f1d2432738eb |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 1 23:01:10 2017 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 1 23:11:21 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e75fe5b5 |
7 |
|
8 |
dev-cpp/eigen: fix sandbox violation, use system fortran compiler, bug #607800 |
9 |
|
10 |
Apply the patch proposed by Guilherme Amadio <amadio <AT> gentoo.org> to fix |
11 |
test configuration and compiler setup. |
12 |
|
13 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
14 |
|
15 |
dev-cpp/eigen/eigen-3.3.1.ebuild | 5 ++++- |
16 |
1 file changed, 4 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/dev-cpp/eigen/eigen-3.3.1.ebuild b/dev-cpp/eigen/eigen-3.3.1.ebuild |
19 |
index fb5d8fe..7c58917 100644 |
20 |
--- a/dev-cpp/eigen/eigen-3.3.1.ebuild |
21 |
+++ b/dev-cpp/eigen/eigen-3.3.1.ebuild |
22 |
@@ -62,6 +62,10 @@ src_prepare() { |
23 |
|
24 |
if ! use test; then |
25 |
sed -i CMakeLists.txt \ |
26 |
+ -e "/add_subdirectory(test/d" \ |
27 |
+ || die "sed disable tests failed" |
28 |
+ |
29 |
+ sed -i CMakeLists.txt \ |
30 |
-e "/add_subdirectory(blas/d" \ |
31 |
-e "/add_subdirectory(lapack/d" \ |
32 |
|| die "sed disable unused bundles failed" |
33 |
@@ -81,7 +85,6 @@ src_compile() { |
34 |
|
35 |
src_test() { |
36 |
local mycmakeargs=( |
37 |
- -DEIGEN_BUILD_TESTS=ON |
38 |
-DEIGEN_TEST_ALTIVEC="$(usex altivec)" |
39 |
-DEIGEN_TEST_CXX11="$(usex c++11)" |
40 |
-DEIGEN_TEST_CUDA="$(usex cuda)" |