Skip to content
Snippets Groups Projects
Commit 5a82cd28 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Adding CMAKE on CI

parent b6ee3891
No related branches found
No related tags found
No related merge requests found
Pipeline #3132 failed
......@@ -24,6 +24,7 @@ echo "GPU compilation: $with_gpu"
if [ x"$hostname" == x"cifarm-centos-node.mpi-cbg.de" ]; then
echo "CentOS node"
source /opt/rh/devtoolset-8/enable
./install_CMAKE_on_CI.sh $HOME/openfpm_dependencies/openfpm_pdata/$branch/
fi
if [ x"$hostname" == x"cifarm-ubuntu-node" ]; then
......@@ -37,9 +38,7 @@ if [ x"$hostname" == x"cifarm-mac-node.mpi-cbg.de" ]; then
echo "Mac node"
export PATH="/usr/local/bin:$PATH"
# rm -rf $HOME/openfpm_dependencies/openfpm_pdata/$branch/PETSC
cd openfpm_vcluster
git stash
cd ..
./install_CMAKE_on_CI.sh $HOME/openfpm_dependencies/openfpm_pdata/$branch/
fi
if [ x"$hostname" == x"falcon1" ]; then
......
#!/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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment