Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .ci/riscv-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@ 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
# necessary. We need to investigate why full 4 GiB memory access is required
# 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
Loading