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