Apply the patch proposed by Guilherme Amadio <amadio@gentoo.org> to fix
test configuration and compiler setup.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
|| 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" \
src_test() {
local mycmakeargs=(
- -DEIGEN_BUILD_TESTS=ON
-DEIGEN_TEST_ALTIVEC="$(usex altivec)"
-DEIGEN_TEST_CXX11="$(usex c++11)"
-DEIGEN_TEST_CUDA="$(usex cuda)"