File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1+ riscof-check :
2+ $(Q ) if [ " $( shell pip show riscof 2>&1 | head -n 1 | cut -d' ' -f1) " = " WARNING:" ]; then \
3+ $(PRINTF ) " Run 'pip3 install git+https://github.com/riscv/riscof.git@d38859f85fe407bcacddd2efcd355ada4683aee4' to install RISCOF\n" ; \
4+ exit 1; \
5+ fi ;
6+
17ARCH_TEST_DIR ?= tests/riscv-arch-test
28ARCH_TEST_SUITE ?= $(ARCH_TEST_DIR ) /riscv-test-suite
39export RISCV_TARGET := tests/arch-test-target
@@ -9,7 +15,7 @@ ifeq ($(RISCV_DEVICE),FCZicsr)
915ARCH_TEST_SUITE := tests/rv32fc-test-suite
1016endif
1117
12- arch-test : $(BIN ) artifact
18+ arch-test : riscof-check $(BIN ) artifact
1319ifeq ($(CROSS_COMPILE ) ,)
1420 $(error GNU Toolchain for RISC-V is required to build architecture tests. Please check package installation)
1521endif
You can’t perform that action at this time.
0 commit comments