mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 19:27:11 +03:00
15 lines
607 B
Bash
Executable File
15 lines
607 B
Bash
Executable File
#!/bin/bash
|
|
# this script assumes that all 3rd-party dependencies are installed under ./opt
|
|
# you can install all 3rd-party dependencies by running make -f contrib/Makefiles/install-dependencies.gmake
|
|
|
|
set -e -o pipefail
|
|
|
|
git submodule init
|
|
git submodule update regtest
|
|
|
|
# test compilation without xmlrpc-c
|
|
./bjam -j$(nproc) --with-irstlm=./opt --with-boost=./opt --with-cmph=./opt --no-xmlrpc-c --with-regtest=./regtest -a -q $@ || exit $?
|
|
|
|
# test compilation with xmlrpc-c
|
|
./bjam -j$(nproc) --with-irstlm=./opt --with-boost=./opt --with-cmph=./opt --with-xmlrpc-c=./opt --with-regtest=./regtest -a -q $@
|