To build and run CoreMark on the CW310:
bazel test --test_tag_filters=cw310 \ //third_party/coremark/top_earlgrey:coremark_test
To build and run CoreMark on Verilator:
bazel test --test_tag_filters=verilator \ //third_party/coremark/top_earlgrey:coremark_test
The BUILD file is hardcoded to give a PERFORMANCE_RUN with TOTAL_DATA_SIZE=2000. These settings are required for reportable CoreMark figures. If you wish to use other options, please modify third_party/coremark/top_earlgrey/BUILD
appropriately. See the CoreMark README for further information on the possibilities.