Fork of stockfish for RISC-V
https://spacecruft.org/deepcrayon/stockfish
c5c4c696dc | ||
---|---|---|
.github/workflows | ||
src | ||
tests | ||
.gitignore | ||
AUTHORS | ||
Copying.txt | ||
README-upstream.md | ||
README.md | ||
Top CPU Contributors.txt | ||
appveyor.yml |
README.md
Stockfish for Cartesi RISC-V Machine Emulator
This branch contains patchlets to compile a RISC-V 64-bit build of stockfish to run under the Cartesi machine emulator.
Setup Cartesi SDK
Build using Cartesi GCC. I just copied them from the docker build and put them in my path (outside of the docker).
git clone --recursive https://github.com/cartesi/machine-emulator-sdk
You should be able to run this command OK before proceeding:
riscv64-cartesi-linux-gnu-gcc
Build
Note, the Makefile kludge disables things like "tests".
Run:
make -j build ARCH=riscv64 COMP=riscv64-cartesi-linux-gnu-gcc COMPCXX=riscv64-cartesi-linux-gnu-g++
Run Stockfish in Emulator
TODO XXX
Upstream
See:
-
README-upstream.md
Cartesi
See:
Copying
Same as upstream Stockfish, GPL v3.