commit:     e6f78730d22f4599c491859f678ebe4d04a1b066
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Sun Dec 21 20:25:14 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Feb  3 19:31:21 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6f78730

dev-cpp/eigen: 9999 allow tests to run

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44994
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-cpp/eigen/eigen-9999.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
index edd189d06099..426cb24bb1d7 100644
--- a/dev-cpp/eigen/eigen-9999.ebuild
+++ b/dev-cpp/eigen/eigen-9999.ebuild
@@ -88,7 +88,7 @@ REQUIRED_USE="
 "
 
 # Tests failing again because of compiler issues; bugs #932646, #943401
-RESTRICT="test !test? ( test )"
+RESTRICT="!test? ( test )"
 
 BDEPEND="
        doc? (
@@ -254,6 +254,8 @@ src_configure() {
 
                        -DCMAKE_DISABLE_FIND_PACKAGE_MPREAL=ON
 
+                       -DEIGEN_TEST_CXX11=yes
+
                        # -DEIGEN_TEST_CUSTOM_CXX_FLAGS= # Additional compiler 
flags when compiling unit tests.
                        # -DEIGEN_TEST_CUSTOM_LINKER_FLAGS= # Additional linker 
flags when linking unit tests.
                        # -DEIGEN_TEST_BUILD_FLAGS= # Options passed to the 
build command of unit tests
@@ -407,9 +409,9 @@ src_compile() {
        fi
        if use test; then
                targets+=( buildtests )
-               # if ! use lapack; then
-               #       targets+=( blas )
-               # fi
+               if ! use lapack; then
+                       targets+=( blas )
+               fi
                # tests generate random data, which
                # obviously fails for some seeds
                export EIGEN_SEED=712808

Reply via email to