summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2020-08-24 11:30:03 +0200
committerDiana Picus <diana.picus@linaro.org>2020-08-24 11:30:03 +0200
commitc5ce29e1eb7f132a0261e44c70230137fcd396ed (patch)
treefcc3ff021b76bd4bc4955870a4d03dafc682d92a
parent95b2210d8b24c22b6360e49db8fc97cd65047d78 (diff)
downloadjenkins-scripts-diana/release/11.0.0.tar.gz
Increase memory allocation for build containersdiana/release/11.0.0
Building flang needs more than 1GB per core. Try with 2GB instead. Change-Id: Ibe1a06d5e529eaad9ea3b4a9d6c569a1171bed9c
-rw-r--r--jenkins-helpers.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/jenkins-helpers.sh b/jenkins-helpers.sh
index 389b7092..4c531798 100644
--- a/jenkins-helpers.sh
+++ b/jenkins-helpers.sh
@@ -688,8 +688,8 @@ print_memory_limit ()
local memory
case "$task" in
build)
- # 1GB per compilation core
- memory=$(( 1000 * $weight * $nproc ))
+ # 2GB per compilation core
+ memory=$(( 2000 * $weight * $nproc ))
if [ "$memory" -gt "30000" ]; then
memory="30000"
fi