Skip to content

Commit

Permalink
set default NUM_JOBS value to be the same accross all scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinThomazic committed Dec 8, 2023
1 parent 6da3f46 commit a3b3ebd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ci/install-verilator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 0 additions & 3 deletions verif/regress/install-cva6.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion verif/regress/install-verilator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit a3b3ebd

Please sign in to comment.