Skip to content

Commit cb1378b

Browse files
committed
Reduce the parallelism level for building SciPy-bundle (in RISC-V)
1 parent e403c45 commit cb1378b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

eb_hooks.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
CPU_TARGET_SAPPHIRE_RAPIDS = 'x86_64/intel/sapphirerapids'
4242
CPU_TARGET_ZEN4 = 'x86_64/amd/zen4'
4343

44+
CPU_TARGET_RISCV64_GENERIC = 'riscv64/generic'
45+
4446
EESSI_RPATH_OVERRIDE_ATTR = 'orig_rpath_override_dirs'
4547
EESSI_MODULE_ONLY_ATTR = 'orig_module_only'
4648
EESSI_FORCE_ATTR = 'orig_force'
@@ -1940,4 +1942,9 @@ def set_maximum(parallel, max_value):
19401942
CPU_TARGET_NEOVERSE_N1: (divide_by_factor, 2),
19411943
CPU_TARGET_NEOVERSE_V1: (divide_by_factor, 2),
19421944
},
1945+
# found problems with the number of opened files in the test phase with
1946+
# ulimit -n = 2048
1947+
'SciPy-bundle': {
1948+
CPU_TARGET_RISCV64_GENERIC: (divide_by_factor, 2),
1949+
},
19431950
}

0 commit comments

Comments
 (0)