Skip to content
Snippets Groups Projects
Commit 6d02aea9 authored by Abhinav Singh's avatar Abhinav Singh
Browse files

CI PETSC REMOVE

parent db845258
No related branches found
No related tags found
No related merge requests found
Pipeline #3683 passed
...@@ -11,7 +11,6 @@ source script/update_openfpm ...@@ -11,7 +11,6 @@ source script/update_openfpm
source script/solve_python source script/solve_python
source script/install_gdbgui source script/install_gdbgui
### switch to the branch ### switch to the branch
#b_switch=`git rev-parse --abbrev-ref HEAD` #b_switch=`git rev-parse --abbrev-ref HEAD`
#b_switch= #b_switch=
...@@ -119,7 +118,8 @@ if [ $upgrade_openfpm -eq 1 ]; then ...@@ -119,7 +118,8 @@ if [ $upgrade_openfpm -eq 1 ]; then
update_openfpm upgrade update_openfpm upgrade
exit 0 exit 0
fi fi
rm -rf $i_dir/PETSC
echo "REMOVING PETSC"
remove_old $i_dir $configure_options remove_old $i_dir $configure_options
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
function conf_PETSC() function conf_PETSC()
{ {
rm -rf $i_dir/PETSC
if [ -d "$i_dir/PETSC" ]; then if [ -d "$i_dir/PETSC" ]; then
configure_options="$configure_options --with-petsc=$i_dir/PETSC " configure_options="$configure_options --with-petsc=$i_dir/PETSC "
lin_alg_dir="$lin_alg_dir -L$i_dir/PETSC/lib" lin_alg_dir="$lin_alg_dir -L$i_dir/PETSC/lib"
......
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