From 6142d9418c872c2a487e23fcbc57aade3e44fb1e Mon Sep 17 00:00:00 2001 From: Incardona Pietro <incardon@mpi-cbg.de> Date: Mon, 15 Nov 2021 22:24:39 +0100 Subject: [PATCH] Fixing backend --- build.sh | 2 +- install_CMAKE_on_CI.sh | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100755 install_CMAKE_on_CI.sh diff --git a/build.sh b/build.sh index 6673bc9..ddc9c0c 100755 --- a/build.sh +++ b/build.sh @@ -77,7 +77,7 @@ sh ./autogen.sh if [ x"$hostname" == x"cifarm-mac-node.mpi-cbg.de" ]; then sh ./configure CXX=mpic++ --with-vcdevel=$HOME/openfpm_dependencies/openfpm_io/$branch/VCDEVEL --with-libhilbert=$HOME/openfpm_dependencies/openfpm_io/$branch/LIBHILBERT --with-hdf5=$HOME/openfpm_dependencies/openfpm_io/$branch/HDF5 --with-boost=$HOME/openfpm_dependencies/openfpm_io/$branch/BOOST --with-pdata=../../openfpm_pdata/ --enable-cuda-on-cpu else - sh ./configure CXX=mpic++ --with-vcdevel=$HOME/openfpm_dependencies/openfpm_io/$branch/VCDEVEL --with-libhilbert=$HOME/openfpm_dependencies/openfpm_io/$branch/LIBHILBERT --with-hdf5=$HOME/openfpm_dependencies/openfpm_io/$branch/HDF5 --with-boost=$HOME/openfpm_dependencies/openfpm_io/$branch/BOOST --with-pdata=../../openfpm_pdata/ --with-cuda-on-cackend=OpenMP + sh ./configure CXX=mpic++ --with-vcdevel=$HOME/openfpm_dependencies/openfpm_io/$branch/VCDEVEL --with-libhilbert=$HOME/openfpm_dependencies/openfpm_io/$branch/LIBHILBERT --with-hdf5=$HOME/openfpm_dependencies/openfpm_io/$branch/HDF5 --with-boost=$HOME/openfpm_dependencies/openfpm_io/$branch/BOOST --with-pdata=../../openfpm_pdata/ --with-cuda-on-backend=OpenMP fi make VERBOSE=1 -j 4 diff --git a/install_CMAKE_on_CI.sh b/install_CMAKE_on_CI.sh new file mode 100755 index 0000000..d7492ad --- /dev/null +++ b/install_CMAKE_on_CI.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +if [ -d "$1/CMAKE" ]; then + exit 0 +fi + +wget https://github.com/Kitware/CMake/releases/download/v3.20.3/cmake-3.20.3.tar.gz +tar -xvf cmake-3.20.3.tar.gz +cd cmake-3.20.3 + +./bootstrap --prefix=$1/CMAKE +make +make install + + -- GitLab