cva6/ci/build-hyp-riscv-tests.sh
2024-04-17 14:01:35 +02:00

16 lines
No EOL
373 B
Bash
Executable file

#!/bin/bash
set -e
ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)
VERSION="9ace7ffdb384ed84075dbe6219d9c0c9431f278b"
cd $ROOT/tmp
if [ -z ${NUM_JOBS} ]; then
NUM_JOBS=1
fi
[ -d $ROOT/tmp/riscv-hyp-tests ] || git clone https://github.com/ninolomata/riscv-hyp-tests
cd riscv-hyp-tests
git checkout $VERSION
git submodule update --init --recursive
make PLAT=cva6