Skip to content

Compiling Fairy Stockfish

Fabian Fichter edited this page Jan 13, 2020 · 17 revisions

This page is about compiling Fairy-Stockfish from source in case you want to use a development version. Otherwise, you can just download a binary from the releases.

Compiling Fairy-Stockfish works analogous to official Stockfish.

Compiling version for large boards

Just add largeboards=yes to your normal make command, e.g., use make build ARCH=x86-64 largeboards=yes instead of make build ARCH=x86-64. It is recommended to do a make clean before compiling the large-board version in order to avoid mixing up object files of both versions.

Compiling on Windows

See https://github.com/glinscott/fishtest/wiki/Building-stockfish-on-Windows for instructions on how to compile Stockfish on Windows. It works analogous for Fairy-Stockfish, you just need to clone/download this repository instead of official Stockfish, i.e., replace https://github.com/official-stockfish/Stockfish by https://github.com/ianfab/Fairy-Stockfish and Stockfish-master by Fairy-Stockfish-master.

Troubleshooting

If you encounter errors when compiling with certain compilers or hardware, please create an issue. Most of the common compilers (gcc, clang, mingw, MSVC), OS (Windows/Linux), and hardware (64/32 bit) are tested and should work.