From c900fe2c10cb1e5361ddd3a0bcddc0fb05d47dee Mon Sep 17 00:00:00 2001 From: Paul Zander Date: Mon, 17 Nov 2025 13:09:50 +0100 Subject: [PATCH] sci-libs/vtk: increase memory requirement for cuda compile jobs This reduces the pool size for compilation. The value for CHECKREQS_MEMORY stays the same as there seem to be only two jobs with 14 GiB usage and the rest stay below that. So for machines with more memory (>32 GiB) this works as well. Closes: https://bugs.gentoo.org/932464 Signed-off-by: Paul Zander Part-of: https://github.com/gentoo/gentoo/pull/44665 Closes: https://github.com/gentoo/gentoo/pull/44665 Signed-off-by: Sam James --- sci-libs/vtk/vtk-9.5.2.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sci-libs/vtk/vtk-9.5.2.ebuild b/sci-libs/vtk/vtk-9.5.2.ebuild index 92e61ee7119a0..ec665cceb0af9 100644 --- a/sci-libs/vtk/vtk-9.5.2.ebuild +++ b/sci-libs/vtk/vtk-9.5.2.ebuild @@ -375,6 +375,12 @@ src_prepare() { cmake_src_prepare + # 14 GiB is the highest single process ram usage seen + # 932464 + sed \ + -e "/EXPR viskores_pool_size/s/3072/$(( 14 * 1024 ))/g" \ + -i ThirdParty/viskores/vtkviskores/viskores/CMake/ViskoresWrappers.cmake || die + if use test; then ebegin "Copying data files to ${BUILD_DIR}" mkdir -p "${BUILD_DIR}/ExternalData" || die