Skip to content

Commit

Permalink
dev-cpp/eigen: fix sandbox violation, use system fortran compiler, bu…
Browse files Browse the repository at this point in the history
…g #607800

Apply the patch proposed by Guilherme Amadio <[email protected]> to fix
test configuration and compiler setup.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
  • Loading branch information
tamiko committed Feb 1, 2017
1 parent bc1a655 commit e75fe5b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dev-cpp/eigen/eigen-3.3.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ src_prepare() {
|| die "sed disable unused bundles failed"

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" \
Expand All @@ -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)"
Expand Down

0 comments on commit e75fe5b

Please sign in to comment.