Increase compiler memory for riscv

This commit is contained in:
Raúl Marín 2024-03-19 16:56:46 +01:00
parent 018316c78a
commit 56e48c5d64

View File

@ -61,8 +61,8 @@ if (ENABLE_CHECK_HEAVY_BUILDS)
# set CPU time limit to 1000 seconds
set (RLIMIT_CPU 1000)
# -fsanitize=memory and address are too heavy
if (SANITIZE OR SANITIZE_COVERAGE OR WITH_COVERAGE)
# Sanitizers are too heavy. Also RISCV has some extra memory requirements
if (SANITIZE OR SANITIZE_COVERAGE OR WITH_COVERAGE OR ARCH_RISCV64)
set (RLIMIT_DATA 10000000000) # 10G
endif()