15 lines
234 B
Bash
Executable file
15 lines
234 B
Bash
Executable file
#!/bin/sh
|
|
|
|
mkdir -p local
|
|
cd local
|
|
rm -rf Stockfish
|
|
git clone https://github.com/ddugovic/Stockfish
|
|
cd Stockfish/src
|
|
if [[ $1 = "old" ]]; then
|
|
make build ARCH=x86-64
|
|
else
|
|
make build ARCH=x86-64-modern
|
|
fi
|
|
./stockfish quit
|
|
cd ../..
|