dev-cpp/eigen: update 9999

update patch
don't pass dropped EIGEN_TEST_CXX11

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-20 16:22:16 +02:00
committed by Sam James
parent 53d01b6982
commit 2bc125639a
2 changed files with 23 additions and 7 deletions

View File

@@ -216,12 +216,12 @@ DEPEND="
PATCHES=(
"${FILESDIR}/${PN}-3.4.0-doc-nocompress.patch" # bug 830064
"${FILESDIR}/${PN}-3.4.0-buildstring.patch"
"${FILESDIR}/${PN}-5.0.0-please_protect_your_min_with_parentheses.patch"
"${FILESDIR}/${PN}-5.0.1-cmake-GNUInstallDirs.patch"
"${FILESDIR}/${PN}-5.0.1-make-static-libs-optional.patch"
"${FILESDIR}/${PN}-9999-Do-not-show-deprecated-CUDA-device-properties-for-CU.patch"
"${FILESDIR}/${PN}-9999-product_threaded_dont_parallelize.patch"
)
# TODO should be in cuda.eclass
@@ -513,12 +513,6 @@ src_configure() {
-DOpenGL_GL_PREFERENCE="GLVND"
)
fi
if use pocketfft; then
mycmakeargs+=(
-DEIGEN_TEST_CXX11=yes
)
fi
fi
cmake_src_configure

View File

@@ -0,0 +1,22 @@
From 056b77036b4c97fee25bbd7a747e55c75c79cd48 Mon Sep 17 00:00:00 2001
From: Paul Zander <negril.nx+gentoo@gmail.com>
Date: Tue, 23 Sep 2025 00:40:14 +0200
Subject: [PATCH] product_threaded don't parallelize
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
diff --git a/test/product_threaded.cpp b/test/product_threaded.cpp
index 1782c28..85c2615 100644
--- a/test/product_threaded.cpp
+++ b/test/product_threaded.cpp
@@ -8,6 +8,7 @@
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
// SPDX-License-Identifier: MPL-2.0
+#define EIGEN_DONT_PARALLELIZE
#define EIGEN_GEMM_THREADPOOL
#include "main.h"
--
2.51.0