From 8c98f3a15f6afe9ea669dcc464cac27198fec385 Mon Sep 17 00:00:00 2001 From: Pietro Incardona <incardon@mpi-cbg.de> Date: Wed, 6 Jan 2021 11:15:41 +0100 Subject: [PATCH] Adding installation script --- install_LIBHILBERT.sh | 19 +++++++++++++++++++ install_VCDEVEL.sh | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100755 install_LIBHILBERT.sh create mode 100755 install_VCDEVEL.sh diff --git a/install_LIBHILBERT.sh b/install_LIBHILBERT.sh new file mode 100755 index 0000000..cb4ad73 --- /dev/null +++ b/install_LIBHILBERT.sh @@ -0,0 +1,19 @@ +#! /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 + diff --git a/install_VCDEVEL.sh b/install_VCDEVEL.sh new file mode 100755 index 0000000..28ae094 --- /dev/null +++ b/install_VCDEVEL.sh @@ -0,0 +1,19 @@ +#! /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 + -- GitLab