Commit 3270dec2 authored by incardon's avatar incardon

Fixing detection of PETSC

parent 5f3da590
Pipeline #880 failed with stages
in 3 minutes and 56 seconds
......@@ -9,14 +9,6 @@ echo "make target: $4"
echo "compilation type: $5"
echo "Branch name: $6"
if [ x"$3" == x"ubuntu" ]; then
rm -rf $HOME/openfpm_dependencies/openfpm_pdata/$6/OPENBLAS
fi
if [ x"$3" == x"osx" ]; then
rm -rf $HOME/openfpm_dependencies/openfpm_pdata/$6/OPENBLAS
fi
if [ x"$6" == x"" ]; then
branch=$(git ls-remote --heads origin | grep $(git rev-parse HEAD) | cut -d / -f 3)
......
......@@ -504,7 +504,7 @@ echo ""
installation_report=""
lin_alg_installed=""
if [ -d "$1/PETSC" -a -f "$1/PETSC/include/petsc.h" ]; then
if [ -d "$i_dir/PETSC" -a -f "$i_dir/PETSC/include/petsc.h" ]; then
installation_report="$installation_report \033[92;1mPETSC\033[0m Installed: \033[1m $i_dir/PETSC \033[0m\n"
bash_library="$bash_library:$i_dir/PETSC/lib"
lin_alg_installed="y"
......
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