Commit 8c98f3a1 authored by incardon's avatar incardon

Adding installation script

parent b6a1f7e9
Pipeline #2617 passed with stages
in 2 minutes and 29 seconds
#! /bin/bash
# check if the directory $1/HDF5 exist
if [ -d "$1/LIBHILBERT" ]; then
echo "LIBHILBERT already installed"
exit 0
fi
wget http://ppmcore.mpi-cbg.de/upload/libhilbert-master.tar.gz
rm -rf libhilbert-master
tar -xf libhilbert-master.tar.gz
cd libhilbert-master
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=$1/LIBHILBERT ..
make all
make install
#! /bin/bash
# check if the directory $1/VCDEVEL exist
if [ -d "$1/VCDEVEL" -a -f "$1/VCDEVEL/include/Vc/Vc" ]; then
echo "VCDEVEL already installed"
exit 0
fi
wget http://ppmcore.mpi-cbg.de/upload/Vc-1.4.1.tar.gz
#rm -rf Vc
tar -xf Vc-1.4.1.tar.gz
cd Vc-1.4.1
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=$1/VCDEVEL -DCMAKE_C_COMPILER=$3 -DCMAKE_CXX_COMPILER=$4 ..
make
make install
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