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

Installing with latest modules

parent 28a96bdf
No related branches found
No related tags found
No related merge requests found
openfpm_numerics @ 4192ec42
Subproject commit eabc19bf631717b35aaef25096cac8c270b0d310
Subproject commit 4192ec42c28ddfb106291ead7d9c471883da83d9
......@@ -19,3 +19,6 @@ fi
mkdir $1/PARMETIS
make install
# Mark the installation
echo 1 > $1/PARMETIS/version
......@@ -100,7 +100,21 @@ function remove_old()
rm -rf $1/METIS/include
rm -rf $1/METIS/lib
rm -rf $1/METIS
fi
fi
if [ -d $1/PARMETIS ]; then
version=$(cat $1/PARMETIS/version)
if [ x"$version" != x"1" ]; then
echo -e "\033[1;34;5m ---------------------------------------------------------------------- \033[0m"
echo -e "\033[1;34;5m PARMETIS has been updated, the component will be updated automatically \033[0m"
echo -e "\033[1;34;5m ---------------------------------------------------------------------- \033[0m"
sleep 5
rm -rf $1/PARMETIS/include
rm -rf $1/PARMETIS/lib
rm -rf $1/PARMETIS/bin
rm -rf $1/PARMETIS
fi
fi
}
......
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