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 <negril.nx+gentoo@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44665
Closes: https://github.com/gentoo/gentoo/pull/44665
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Paul Zander
2025-11-17 13:09:50 +01:00
committed by Sam James
parent 9d5dfe7abf
commit c900fe2c10

View File

@@ -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