lila/bin/install-stockfish
2015-02-09 18:02:38 +01:00

16 lines
294 B
Bash
Executable file

#!/bin/bash
mkdir -p local
cd local
rm -rf Stockfish
git clone https://github.com/ddugovic/Stockfish
cd Stockfish/src
git reset --hard 271582eaa5d43afd4ef48ec3d8bcdfc724ac148e
if [[ $1 = "old" ]]; then
make build ARCH=x86-64
else
make build ARCH=x86-64-modern
fi
./stockfish quit
cd ../..