Skip to content

Commit

Permalink
Merge pull request #2076 from ThalesSiliconSecurity/dev/fix-cva6-version
Browse files Browse the repository at this point in the history
fix: display correct CVA6 version
  • Loading branch information
ASintzoff authored Aug 1, 2023
2 parents e664b3f + 652d439 commit a977cc0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cva6/regress/install-cva6.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,13 @@ echo $CVA6_PATCH

if ! [ -d core-v-cores/cva6 ]; then
git clone --recursive $CVA6_REPO -b $CVA6_BRANCH core-v-cores/cva6
git -C core-v-cores/cva6 checkout $CVA6_HASH
pushd core-v-cores/cva6
git checkout $CVA6_HASH
echo -n "Using CVA6 commit "; git describe --always HEAD
if [[ -n "$CVA6_PATCH" && -f "$CVA6_PATCH" ]]; then
git -C core-v-cores/cva6 apply "$CVA6_PATCH"
git apply "$CVA6_PATCH"
fi
popd
fi

# install Spike
Expand Down

0 comments on commit a977cc0

Please sign in to comment.