cvw/benchmarks/riscv-coremark/build-coremark.sh
2021-11-18 20:23:55 -08:00

16 lines
586 B
Bash
Executable File

#!/bin/bash
set -e
BASEDIR=$PWD
# run the compile
echo "Start compilation"
#make -C ../../addins/coremark PORT_DIR=$BASEDIR/riscv64-baremetal compile RISCV=/courses/e190ax/riscvcompiler XCFLAGS="-march=rv64im"
#mv ../../addins/coremark/coremark.bare.riscv $BASEDIR
make -C coremark PORT_DIR=$BASEDIR/riscv64-baremetal compile RISCV=/courses/e190ax/riscvcompiler XCFLAGS="-march=rv64im"
mv coremark/coremark.bare.riscv $BASEDIR
riscv64-unknown-elf-objdump -D coremark.bare.riscv > coremark.bare.riscv.objdump #> coremarkcodemod.bare.riscv.objdump
exe2memfile.pl coremark.bare.riscv