lila/bin/install-polyglot

16 lines
460 B
Bash
Executable File

#!/bin/bash
mkdir -p local
cd local
rm -rf polyglot
git clone https://github.com/ddugovic/polyglot.git
cd polyglot
git checkout 2d5bbd35dd1c44a1a7556793e16b9070047848fb
cd src
touch configure.ac aclocal.m4 configure Makefile.am Makefile.in
./configure --disable-assert
make
cd ../../..
cp -a local/polyglot/src/polyglot local/Stockfish/src/stockfish bin/
curl -o local/eco.bin https://raw.githubusercontent.com/ornicar/lichess-data/master/polyglot-db-26k.bin