diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-01-30 20:19:02 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-01 19:58:14 +0100 |
| commit | f5d9fe6211bd397deb0ac19b634f551edfa0f6b8 (patch) | |
| tree | 3568c011bdd4dcd201db8ca6ee098da70a1fd53f /tests/stockfish.sh | |
Initialize project
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 |
