rv32emu
rv32emu copied to clipboard
Failed to run arch-test on arm64 machine
Prebuilt binary of Sail doesn't exist.
I was running test on Macbook M1, commit 164da62b64fa050569b22910ea207525884802ba.
$make arch-test
CC build/map.o
CC build/utils.o
CC build/decode.o
CC build/io.o
CC build/syscall.o
CC build/emulate.o
CC build/riscv.o
CC build/elf.o
CC build/cache.o
CC build/mpool.o
CC build/main.o
LD build/rv32emu
Fetching SHA-1 of prebuilt binaries ... [OK]
Checking SHA-1 of prebuilt binaries ... [OK]
git submodule update --init tests/
cp: build/sail_cSim/riscv_sim_RV32: No such file or directory
make: *** [arch-test] Error 1
I was running on an M2 without any errors (but having some dependency issue, i.e., riscof not found). Could you provide more details on how to reproduce this?
But I did nothing. I have even run make clean to ensure I didnt change anything in the codebase.
make arch-test is the only thing I ran
Prebuilt binary of Sail doesn't exist.
@vacantron, If including a darwin-arm64 (i.e., macOS ARM 64-bit binary) build of sail_cSim, what modifications would be necessary for rv32emu-prebuilt?
@howjmay, can you confirm with the latest
masterbranch?
The executable has been added, however, the Aarch64 support of architecture test is currently in progress in #547 .
The executable for Arm64/MacOS has been added to rv32emu-prebuilt . Rerun .ci/riscv-tests.sh on master branch and it should work as expected
See Releases .
The executable for Arm64/MacOS has been added to
rv32emu-prebuilt. Rerun.ci/riscv-tests.shon master branch and it should work as expected
Defer to @howjmay for confirmation.
Sail model for macOS/arm64 is runnable and arch-test is passed, see CI.