Skip to content

Commit c341586

Browse files
committed
tools to revert stockfish on AI nodes
1 parent d0f0a93 commit c341586

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

bin/install-stockfish

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
mkdir -p local
44
cd local

bin/prod/deploy-scripts-to

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/sh
2+
. bin/lilarc
3+
4+
REMOTE=$1
5+
REMOTE_DIR=$2
6+
7+
lilalog "Rsync scripts"
8+
rsync --archive --progress bin $REMOTE:$REMOTE_DIR
9+
10+
lilalog "Deploy complete"

bin/revert-stockfish

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
mkdir -p local
4+
cd local
5+
rm -rf Stockfish
6+
git clone https://github.com/ddugovic/Stockfish
7+
cd Stockfish/src
8+
git reset --hard 271582eaa5d43afd4ef48ec3d8bcdfc724ac148e
9+
if [[ $1 = "old" ]]; then
10+
make build ARCH=x86-64
11+
else
12+
make build ARCH=x86-64-modern
13+
fi
14+
./stockfish quit
15+
cd ../..

0 commit comments

Comments
 (0)