mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-20 12:17:19 -04:00
16 lines
No EOL
373 B
Bash
Executable file
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 |