mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-cpp/eigen: Disable cholmod tests through cmake.eclass
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -53,8 +53,6 @@ DEPEND="
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.3.7-gentoo-cmake.patch
|
||||
"${FILESDIR}"/${PN}-3.3.9-max-macro.patch
|
||||
# disable the cholmod tests, they always fail
|
||||
"${FILESDIR}"/${PN}-3.3.9-disable-cholmod_support.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
@@ -79,6 +77,8 @@ src_configure() {
|
||||
use test && mycmakeargs+=(
|
||||
# the OpenGL testsuite is extremely brittle, bug #712808
|
||||
-DEIGEN_TEST_NO_OPENGL=ON
|
||||
# the cholmod tests are broken and always fail
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Cholmod=ON
|
||||
-DEIGEN_TEST_CXX11=ON
|
||||
-DEIGEN_TEST_NOQT=ON
|
||||
-DEIGEN_TEST_ALTIVEC=$(usex cpu_flags_ppc_altivec)
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
--- a/test/CMakeLists.txt
|
||||
+++ b/test/CMakeLists.txt
|
||||
@@ -46,16 +46,7 @@
|
||||
|
||||
set(SPARSE_LIBS " ")
|
||||
|
||||
-find_package(Cholmod)
|
||||
-if(CHOLMOD_FOUND)
|
||||
- add_definitions("-DEIGEN_CHOLMOD_SUPPORT")
|
||||
- include_directories(${CHOLMOD_INCLUDES})
|
||||
- set(SPARSE_LIBS ${SPARSE_LIBS} ${CHOLMOD_LIBRARIES} ${EIGEN_BLAS_LIBRARIES} ${EIGEN_LAPACK_LIBRARIES})
|
||||
- set(CHOLMOD_ALL_LIBS ${CHOLMOD_LIBRARIES} ${EIGEN_BLAS_LIBRARIES} ${EIGEN_LAPACK_LIBRARIES})
|
||||
- ei_add_property(EIGEN_TESTED_BACKENDS "Cholmod, ")
|
||||
-else()
|
||||
- ei_add_property(EIGEN_MISSING_BACKENDS "Cholmod, ")
|
||||
-endif()
|
||||
+ei_add_property(EIGEN_MISSING_BACKENDS "Cholmod, ")
|
||||
|
||||
find_package(Umfpack)
|
||||
if(UMFPACK_FOUND)
|
||||
Reference in New Issue
Block a user