From a3b3ebdbada0b416c7c1638132a28d1facbdf556 Mon Sep 17 00:00:00 2001 From: Valentin Thomazic Date: Fri, 8 Dec 2023 11:55:23 +0100 Subject: [PATCH] set default NUM_JOBS value to be the same accross all scripts --- ci/install-verilator.sh | 4 ++-- verif/regress/install-cva6.sh | 3 --- verif/regress/install-verilator.sh | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/ci/install-verilator.sh b/ci/install-verilator.sh index d39c054117..0d96e23ea4 100755 --- a/ci/install-verilator.sh +++ b/ci/install-verilator.sh @@ -3,8 +3,8 @@ ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd) cd $ROOT/tmp -if [ -z ${NUM_JOBS} ]; then - NUM_JOBS=4 +if [ -z "NUM_JOBS" ]; then + NUM_JOBS=1 fi VERILATOR_REPO="https://github.com/verilator/verilator.git" diff --git a/verif/regress/install-cva6.sh b/verif/regress/install-cva6.sh index b7af9964db..dcc5120e43 100755 --- a/verif/regress/install-cva6.sh +++ b/verif/regress/install-cva6.sh @@ -63,9 +63,6 @@ else echo "Skipping Verilator setup on user's request (\$VERILATOR_INSTALL_DIR = \"NO\")." fi -# number of parallel jobs to use for make commands and simulation -export NUM_JOBS=24 - # install the required tools for cva6 if [ -z "$CVA6_REPO" ]; then CVA6_REPO="https://github.com/openhwgroup/cva6.git" diff --git a/verif/regress/install-verilator.sh b/verif/regress/install-verilator.sh index 82e8963443..1fb9882f4b 100755 --- a/verif/regress/install-verilator.sh +++ b/verif/regress/install-verilator.sh @@ -8,7 +8,7 @@ # Original Author: Jean-Roch COULON - Thales if [ -z "$NUM_JOBS" ]; then - NUM_JOBS=4 + NUM_JOBS=1 fi # Ensure the location of tools is known (usually, .../core-v-verif/tools).