mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user