Skip to content

Commit b0c9737

Browse files
committed
Update to download latest PETSc tagged release
1 parent 273d495 commit b0c9737

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

installxSDK.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
PREFIX="notset"
44
WITHGIT="git"
55
PACKAGEDIR="0"
6-
PETSC_COMMIT="v3.7"
6+
PETSC_COMMIT="v3.7.2"
77

88
for i in "$@"
99
do
@@ -44,7 +44,7 @@ fi
4444
# make directory where builds will occur
4545
if [ ! -d xsdk ]; then
4646
mkdir xsdk
47-
printf "Creating work directory xsdk for all temporary files"
47+
printf "Creating work directory xsdk for all temporary files\n"
4848
fi
4949
cd xsdk
5050

@@ -66,6 +66,7 @@ if [ ! -d petsc ]; then
6666
cd petsc
6767
fi
6868
elif [ "${WITHGIT}" != "0" ]; then
69+
printf "Using git to obtain the packages\n"
6970
${WITHGIT} clone https://bitbucket.org/petsc/petsc.git petsc
7071
cd petsc
7172
git checkout $PETSC_COMMIT
@@ -81,6 +82,7 @@ else
8182
cd petsc
8283
git fetch
8384
git checkout $PETSC_COMMIT
85+
printf "Using $PETSC_COMMIT version/git commit of PETSc\n"
8486
git pull
8587
fi
8688
fi

0 commit comments

Comments
 (0)