mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-28 14:32:38 +03:00
11 lines
397 B
Bash
Executable File
11 lines
397 B
Bash
Executable File
#!/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
|