mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user