Commit f2772afb authored by incardon's avatar incardon

Testing vcluster on GitLab CI

parent 1fdaace8
......@@ -13,6 +13,8 @@ mv /tmp/openfpm_vcluster openfpm_vcluster
mkdir openfpm_vcluster/src/config
## It is equivalent to the git modules
git clone git@git.mpi-cbg.de:/openfpm/openfpm_devices.git openfpm_devices
git clone git@git.mpi-cbg.de:/openfpm/openfpm_data.git openfpm_data
cd openfpm_data
......@@ -24,6 +26,35 @@ cd ..
cd "$1/openfpm_vcluster"
# install MPI and BOOST LIBHILBERT if needed
if [ ! -d $HOME/openfpm_dependencies/openfpm_vcluster/LIBHILBERT ]; then
./install_LIBHILBERT.sh $HOME/openfpm_dependencies/openfpm_vcluster/ 4
fi
if [ ! -d $HOME/openfpm_dependencies/openfpm_vcluster/BOOST ]; then
if [ x"$2" == x"mac," ]; then
echo "Compiling for OSX"
./install_BOOST.sh $HOME/openfpm_dependencies/openfpm_vcluster/ 4 darwin
else
echo "Compiling for Linux"
./install_BOOST.sh $HOME/openfpm_dependencies/openfpm_vcluster/ 4 gcc
fi
fi
if [ ! -d $HOME/openfpm_dependencies/openfpm_vcluster/MPI ]; then
if [ x"$2" == x"mac," ]; then
echo "Compiling for OSX"
./install_MPI.sh $HOME/openfpm_dependencies/openfpm_vcluster/ 4
else
echo "Compiling for Linux"
./install_MPI.sh $HOME/openfpm_dependencies/openfpm_vcluster/ 4
fi
fi
source $HOME/openfpm_vars_$3
if [ "$2" == "gin" ]; then
......
......@@ -7,6 +7,8 @@ echo "Directory: $1"
echo "Machine: $2"
echo "Branch: $4"
exit 1
cd "$1/openfpm_vcluster"
source $HOME/openfpm_vars_$4
......
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