dev-cpp/eigen: no longer use fixed EIGEN_SEED

Avoiding test failures caused by random values is counter productive and
should be fixed upstream.

We solve it via cmake reruns for now.

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44994
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Paul Zander
2026-05-04 15:20:15 +02:00
committed by Sam James
parent 4836c87289
commit 96c6f4e10f
2 changed files with 10 additions and 6 deletions

View File

@@ -536,9 +536,10 @@ src_compile() {
if use cuda || use hip; then
targets+=( buildtests_gpu )
fi
# tests generate random data, which
# obviously fails for some seeds
export EIGEN_SEED=712808
# tests generate random data, which fails for some seeds
# we solve this via test reruns now
# export EIGEN_SEED=712808
fi
# we add doc last to capture results for buildtests
@@ -589,6 +590,7 @@ src_test() {
local myctestargs=(
-j1 # otherwise breaks due to cmake reruns
--repeat until-pass:50
)
if use opengl; then

View File

@@ -540,9 +540,10 @@ src_compile() {
if use cuda || use hip; then
targets+=( buildtests_gpu )
fi
# tests generate random data, which
# obviously fails for some seeds
export EIGEN_SEED=712808
# tests generate random data, which fails for some seeds
# we solve this via test reruns now
# export EIGEN_SEED=712808
fi
# we add doc last to capture results for buildtests
@@ -593,6 +594,7 @@ src_test() {
local myctestargs=(
-j1 # otherwise breaks due to cmake reruns
--repeat until-pass:50
)
if use opengl; then