install_BOOST.sh 298 Bytes
Newer Older
incardon's avatar
incardon committed
1
2
#!/bin/bash 

incardon's avatar
incardon committed
3
# check if the directory $1/MPI exist
incardon's avatar
incardon committed
4

incardon's avatar
incardon committed
5
if [ -d "$1/BOOST" ]; then
incardon's avatar
incardon committed
6
7
8
9
10
  echo "BOOST already installed"
  exit 0
fi

wget http://ppmcore.mpi-cbg.de/upload/boost_1_58_0.tar.bz2
11
12
tar -xvf boost_1_60_0.tar.bz2
cd boost_1_60_0
incardon's avatar
incardon committed
13
./bootstrap.sh
incardon's avatar
incardon committed
14
15
mkdir $1/BOOST
./b2 -j 4 install --prefix=$1/BOOST
incardon's avatar
incardon committed
16