mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-08-17 07:20:48 +03:00
Merge branch 'master' of https://github.com/moses-smt/mosesdecoder
This commit is contained in:
commit
b0e7d30fc6
10
contrib/debugging/auto-rollback.sh
Executable file
10
contrib/debugging/auto-rollback.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
git submodule init
|
||||
git submodule update regtest
|
||||
while [ true ] ; do
|
||||
./bjam -j$(nproc) --with-irstlm=$(pwd)/opt --with-boost=$(pwd)/opt --with-cmph=$(pwd)/opt --with-xmlrpc-c=$(pwd)/opt --with-regtest=$(pwc)/regtest -a -q $@ && break
|
||||
commit=$(git log | grep ^commit | head -n2 | tail -n1 | sed 's/commit //')
|
||||
echo REVERTING TO COMMIT $commit
|
||||
git checkout $commit
|
||||
done
|
Loading…
Reference in New Issue
Block a user