2022-01-06 23:04:30 +00:00
|
|
|
make allclean:
|
|
|
|
make clean
|
|
|
|
make all
|
|
|
|
|
2022-01-05 22:10:26 +00:00
|
|
|
make clean:
|
|
|
|
make clean -C ../../addins/riscv-arch-test
|
|
|
|
make clean -C ../../tests/wally-riscv-arch-test
|
2022-01-20 14:17:26 +00:00
|
|
|
make allclean -C ../../tests/imperas-riscv-tests
|
2022-01-05 22:10:26 +00:00
|
|
|
|
2021-11-09 18:55:48 +00:00
|
|
|
make all:
|
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-01-17 16:57:32 +00:00
|
|
|
# Also delete bin/exe2memfile at that point
|
2022-01-21 00:12:14 +00:00
|
|
|
make -C ../../tests/imperas-riscv-tests
|
|
|
|
make -C ../../tests/imperas-riscv-tests XLEN=64
|
2022-01-17 14:42:59 +00:00
|
|
|
cd ../../tests/imperas-riscv-tests; exe2memfile.pl work/*/*.elf
|
2022-02-02 00:25:03 +00:00
|
|
|
cd ../../tests/imperas-riscv-tests; extractFunctionRadix.sh work/*/*.elf
|
2022-01-17 14:42:59 +00:00
|
|
|
|
|
|
|
|
2021-12-25 14:35:36 +00:00
|
|
|
# Build riscv-arch-test 64 and 32-bit versions
|
|
|
|
make -C ../../addins/riscv-arch-test
|
|
|
|
make -C ../../addins/riscv-arch-test XLEN=32
|
2022-01-05 22:10:26 +00:00
|
|
|
cd ../../addins/riscv-arch-test; elf2hex.sh
|
2022-02-02 00:25:03 +00:00
|
|
|
cd ../../addins/riscv-arch-test; extractFunctionRadix.sh work/*/*/*.elf
|
2022-01-05 14:35:25 +00:00
|
|
|
# extractFunctionRadix. ***
|
2021-12-25 14:35:36 +00:00
|
|
|
|
|
|
|
# Build wally-riscv-arch-test
|
2021-11-17 20:17:56 +00:00
|
|
|
make -C ../../tests/wally-riscv-arch-test/
|
2021-12-25 14:35:36 +00:00
|
|
|
make -C ../../tests/wally-riscv-arch-test/ XLEN=32
|
2022-01-05 22:10:26 +00:00
|
|
|
cd ../../tests/wally-riscv-arch-test; elf2hex.sh
|
2022-02-02 00:25:03 +00:00
|
|
|
cd ../../tests/wally-riscv-arch-test; extractFunctionRadix.sh work/*/*/*.elf
|
2022-01-05 14:35:25 +00:00
|
|
|
# ***extractFunctionRadix
|
2022-01-04 23:14:53 +00:00
|
|
|
|
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-01-05 22:10:26 +00:00
|
|
|
# make -C ../../addins/imperas-riscv-tests
|
|
|
|
# make -C ../../addins/imperas-riscv-tests XLEN=64
|
|
|
|
# cd ../../addins/imperas-riscv-tests; elf2hex.sh
|
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-01-06 23:03:20 +00:00
|
|
|
|