docs icon indicating copy to clipboard operation
docs copied to clipboard

Add section on reproducing RISC-V Codewars runtime locally

Open DonaldKellett opened this issue 2 years ago • 1 comments

Depends: #438

Solvers may wish to develop RISC-V solutions and/or translations locally. It isn't immediately obvious how to do so, since it differs from the native architecture of most consumer devices at the time of writing. At least it would be nice to mention that one does not need to purchase their own RISC-V SoC and load Linux on it in order to reproduce the Codewars environment locally ;-)

We could simply mention that Codewars uses ghcr.io/codewars/riscv for the execution environment and have the solver figure out the rest, but since it outputs Codewars output format which isn't very human-friendly, perhaps we should guide users on setting up a similar environment using the text reporter instead which gives human-friendly output, e.g. docker.io/donaldsebleung/cgreen

DonaldKellett avatar Aug 11 '22 15:08 DonaldKellett