diff options
Diffstat (limited to 'tests/stockfish.sh')
| -rwxr-xr-x | tests/stockfish.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/stockfish.sh b/tests/stockfish.sh new file mode 100755 index 0000000..a999085 --- /dev/null +++ b/tests/stockfish.sh @@ -0,0 +1,7 @@ +#!/usr/bin/bash + +wai=$(dirname $(readlink -f "$0")) # Current script directory +cd ${wai}/../build/tests/ +wget -O sf.tar.gz https://github.com/official-stockfish/Stockfish/archive/refs/tags/sf_14.1.tar.gz +mkdir -p sf_src && tar -xf sf.tar.gz -C sf_src --strip-components 1 +cd sf_src/src && make build ARCH=x86-64-modern && mv stockfish ./../../stockfish_engine
\ No newline at end of file |
