1
0
Fork 0

it.is.alive.

riscv64-cartesi
server 2021-11-16 18:46:12 -07:00
parent 8ada4f0c16
commit 98b2d14488
1 changed files with 53 additions and 2 deletions

View File

@ -14,7 +14,7 @@ You should be able
to run this command OK before proceeding:
```
riscv64-cartesi-linux-gnu-gcc
riscv64-cartesi-linux-gnu-gcc --version
```
# Build
@ -23,7 +23,8 @@ Note, the Makefile kludge disables things like "tests".
Run this to build stockfish binary for riscv64 using Cartesi GCC toolchain:
```
cd src
git clone https://spacecruft.org/deepcrayon/stockfish
cd stockfish/src
make -j build ARCH=riscv64 COMP=riscv64-cartesi-linux-gnu-gcc COMPCXX=riscv64-cartesi-linux-gnu-g++
```
@ -55,6 +56,56 @@ cartesi-machine \
```
# Emulator Output
This takes "awhile" to run:
```
.
/ \
/ \
\---/---\ /----\
\ X \
\----/ \---/---\
\ / CARTESI
\ / MACHINE
'
Stockfish running under Cartesi virtual machine
Stockfish 161121 by the Stockfish developers (see AUTHORS file)
option name Debug Log File type string default
option name Threads type spin default 1 min 1 max 512
option name Hash type spin default 16 min 1 max 33554432
option name Clear Hash type button
option name Ponder type check default false
option name MultiPV type spin default 1 min 1 max 500
option name Skill Level type spin default 20 min 0 max 20
option name Move Overhead type spin default 10 min 0 max 5000
option name Slow Mover type spin default 100 min 10 max 1000
option name nodestime type spin default 0 min 0 max 10000
option name UCI_Chess960 type check default false
option name UCI_AnalyseMode type check default false
option name UCI_LimitStrength type check default false
option name UCI_Elo type spin default 1350 min 1350 max 2850
option name UCI_ShowWDL type check default false
option name SyzygyPath type string default <empty>
option name SyzygyProbeDepth type spin default 1 min 1 max 100
option name Syzygy50MoveRule type check default true
option name SyzygyProbeLimit type spin default 7 min 0 max 7
option name Use NNUE type check default true
option name EvalFile type string default nn-13406b1dcbe0.nnue
uciok
Halted
Cycles: 3142947347
```
# TODO
* Make image of RAM with stockfish already run once and loaded.
# Upstream
See: