diff --git a/.ci/riscv-tests.sh b/.ci/riscv-tests.sh index 14936fea..ac1a4441 100755 --- a/.ci/riscv-tests.sh +++ b/.ci/riscv-tests.sh @@ -9,6 +9,8 @@ set -x export PATH=`pwd`/toolchain/bin:$PATH +PARALLEL=-j$(nproc) + make distclean # Rebuild with all RISC-V extensions # FIXME: To pass the RISC-V Architecture Tests, full access to 4 GiB is @@ -16,7 +18,7 @@ make distclean # for this purpose, although the emulator can run all selected benchmarks with # much smaller memory mapping regions. make ENABLE_EXT_M=1 ENABLE_EXT_A=1 ENABLE_EXT_F=1 ENABLE_EXT_C=1 \ - ENABLE_Zicsr=1 ENABLE_Zifencei=1 ENABLE_FULL4G=1 -make arch-test RISCV_DEVICE=IMAFCZicsrZifencei || exit 1 -make arch-test RISCV_DEVICE=FCZicsr || exit 1 -make arch-test RISCV_DEVICE=IMZbaZbbZbcZbs || exit 1 + ENABLE_Zicsr=1 ENABLE_Zifencei=1 ENABLE_FULL4G=1 $PARALLEL +make arch-test RISCV_DEVICE=IMAFCZicsrZifencei $PARALLEL || exit 1 +make arch-test RISCV_DEVICE=FCZicsr $PARALLEL || exit 1 +make arch-test RISCV_DEVICE=IMZbaZbbZbcZbs $PARALLEL || exit 1