This repository provides the utility files to port CoreMark EEMBC to RISC-V.
- You must have installed the RISC-V tools
git submodule update --init
- Run the
./build-coremark.sh
script that does the following- Builds a version of Coremark for Linux or pk (coremark.riscv)
- Builds a version of Coremark for bare-metal (coremark.bare.riscv)
- Copies the output binaries into this directory
The default files target RV64GC and use minimal amount of compilation flags. Additionally, the *.mak
file in the riscv64
folder setups spike pk
as the default run
rule.
Feel free to change these to suit your needs.