Skip to content

Compiling Marian with custom Boost

Roman Grundkiewicz edited this page Jan 16, 2018 · 3 revisions

This is a short instruction how to compile Marian with custom Boost installation.

Download, compile and install Boost:

wget https://dl.bintray.com/boostorg/release/1.64.0/source/boost_1_64_0.tar.gz
tar zxvf boost_1_64_0.tar.gz 
cd boost_1_64_0
./bootstrap.sh 
./b2 -j16 --prefix=$(pwd) --libdir=$(pwd)/lib64 --layout=system link=static install

Compile Marian:

cd /path/to/marian-dev
mkdir build
cd build
cmake .. -DBOOST_ROOT=/path/to/boost_1_64_0
make -j16

Tested on Ubuntu 16.04.3 LTS.

Clone this wiki locally