2022-06-21 23:10:18 +00:00
|
|
|
all: archtests wallytests memfiles
|
2022-01-17 14:42:59 +00:00
|
|
|
# *** Build old tests/imperas-riscv-tests for now;
|
|
|
|
# Delete this part when the privileged tests transition over to tests/wally-riscv-arch-test
|
2022-02-27 15:12:10 +00:00
|
|
|
# DH: 2/27/22 temporarily commented out imperas-riscv-tests because license expired
|
|
|
|
#make -C ../../tests/imperas-riscv-tests --jobs
|
|
|
|
#make -C ../../tests/imperas-riscv-tests XLEN=64 --jobs
|
2022-01-06 23:04:30 +00:00
|
|
|
# Only compile Imperas tests if they are installed locally.
|
|
|
|
# They are usually a symlink to $RISCV/imperas-riscv-tests and only
|
|
|
|
# get compiled there manually during installation
|
2022-02-02 16:02:56 +00:00
|
|
|
#make -C ../../addins/imperas-riscv-tests
|
|
|
|
#make -C ../../addins/imperas-riscv-tests XLEN=64
|
|
|
|
#cd ../../addins/imperas-riscv-tests; elf2hex.sh
|
|
|
|
#cd ../../addins/imperas-riscv-tests; extractFunctionRadix.sh work/*/*/*.elf.objdump
|
2022-01-17 14:42:59 +00:00
|
|
|
|
2021-12-25 14:35:36 +00:00
|
|
|
# Link Linux test vectors (fix this later***)
|
|
|
|
#cd ../../tests/linux-testgen/linux-testvectors/;./tvLinker.sh
|
2022-01-05 22:10:26 +00:00
|
|
|
|
2022-06-21 23:10:18 +00:00
|
|
|
allclean: clean all
|
|
|
|
|
|
|
|
clean:
|
|
|
|
make clean -C ../../tests/riscof
|
|
|
|
make clean -C ../../tests/wally-riscv-arch-test
|
|
|
|
# make allclean -C ../../tests/imperas-riscv-tests
|
|
|
|
|
|
|
|
archtests:
|
2022-06-21 22:54:24 +00:00
|
|
|
# Build riscv-arch-test 64 and 32-bit versions
|
|
|
|
make -C ../../tests/riscof/ --jobs
|
|
|
|
make -C ../../tests/riscof/ XLEN=32 --jobs
|
|
|
|
|
2022-06-21 23:10:18 +00:00
|
|
|
wallytests:
|
2022-06-21 22:54:24 +00:00
|
|
|
# Build wally-riscv-arch-test
|
|
|
|
make -C ../../tests/wally-riscv-arch-test/ --jobs
|
|
|
|
make -C ../../tests/wally-riscv-arch-test/ XLEN=32 --jobs
|
|
|
|
|
2022-06-21 23:10:18 +00:00
|
|
|
memfiles:
|
2022-06-21 22:54:24 +00:00
|
|
|
make -f makefile-memfile wally-sim-files --jobs
|