cvw/Makefile

23 lines
914 B
Makefile
Raw Normal View History

2021-12-21 05:10:14 +00:00
all:
make install
make regression
2021-12-21 05:10:14 +00:00
# install copies over the Makefile.include from riscv-isa-sim
# And corrects the TARGETDIR path and the RISCV_PREFIXZ
install:
cp ${RISCV}/riscv-isa-sim/arch_test_target/spike/Makefile.include addins/riscv-arch-test/
sed -i '/export TARGETDIR ?=/c\export TARGETDIR ?= ${RISCV}/riscv-isa-sim/arch_test_target' addins/riscv-arch-test/Makefile.include
echo export RISCV_PREFIX = riscv64-unknown-elf- >> addins/riscv-arch-test/Makefile.include
2022-01-21 00:12:14 +00:00
cd tests/linux-testgen/linux-testvectors; source ./tvLinker.sh # needs to be run in local directory
rm tests/imperas-riscv-tests/riscv-ovpsim-plus/bin/Linux64/riscvOVPsimPlus.exe
ln -s ${RISCV}/imperas-riscv-tests/riscv-ovpsim-plus/bin/Linux64/riscvOVPsimPlus.exe tests/imperas-riscv-tests/riscv-ovpsim-plus/bin/Linux64/riscvOVPsimPlus.exe
2021-12-21 05:10:14 +00:00
regression:
2022-01-04 19:47:41 +00:00
make -C pipelined/regression
2021-11-17 20:17:56 +00:00
2022-01-20 14:17:26 +00:00
clean:
make clean -C pipelined/regression
2021-11-17 20:17:56 +00:00