Commit 86a91325 authored by incardon's avatar incardon

Fixing compilation on mac

parent d28714a8
Pipeline #725 failed with stages
in 14 minutes and 44 seconds
......@@ -10,6 +10,14 @@ if [ ! -d $HOME/openfpm_dependencies/openfpm_data/LIBHILBERT ]; then
./install_LIBHILBERT.sh $HOME/openfpm_dependencies/openfpm_data/ 4
fi
if [ ! -d $HOME/openfpm_dependencies/openfpm_data/BOOST ]; then
if [ "$2" == x"mac" ]; then
./install_BOOST.sh $HOME/openfpm_dependencies/openfpm_data/ 4 darwin
else
./install_BOOST.sh $HOME/openfpm_dependencies/openfpm_data 4 gcc
fi
fi
mkdir /tmp/openfpm_data_$3
mv * .[^.]* /tmp/openfpm_data_$3
mv /tmp/openfpm_data_$3 openfpm_data
......
#!/bin/bash
# check if the directory $1/BOOST exist
if [ -d "$1/BOOST" ]; then
echo "BOOST already installed"
exit 0
fi
wget http://ppmcore.mpi-cbg.de/upload/boost_1_63_0.tar.bz2
tar -xvf boost_1_63_0.tar.bz2
cd boost_1_63_0
./bootstrap.sh --with-toolset=$3
mkdir $1/BOOST
./b2 -j $2 install --prefix=$1/BOOST
rm -rf boost_1_63_0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment