Skip to content

Instantly share code, notes, and snippets.

@tetsuok
Created June 16, 2012 12:04
Show Gist options
  • Select an option

  • Save tetsuok/2941166 to your computer and use it in GitHub Desktop.

Select an option

Save tetsuok/2941166 to your computer and use it in GitHub Desktop.
Build script for Moses with regression tests.
#!/bin/sh -x
num_cpu=32
path_to_moses=`pwd`
path_to_srilm=$HOME/local/src/srilm
test_num=10
path_to_regtest=$path_to_moses/regression-testing/moses-reg-test-data-$test_num
./bjam -j$num_cpu toolset=gcc \
--with-boost=/usr/include \
--with-srilm=$path_to_srilm \
--with-regtest=$path_to_regtest 2>&1 | tee b.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment