Skip to content

Commit 273d495

Browse files
committed
When cloning fresh PETSc make sure to checkout the right commit
Funded-by: IDEAS Project: xSDK
1 parent 593053c commit 273d495

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

installxSDK.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ if [ ! -d petsc ]; then
6868
elif [ "${WITHGIT}" != "0" ]; then
6969
${WITHGIT} clone https://bitbucket.org/petsc/petsc.git petsc
7070
cd petsc
71+
git checkout $PETSC_COMMIT
7172
else
7273
curl https://bitbucket.org/petsc/petsc/get/${PETSC_COMMIT}.tar.gz > petsc.tar.gz
7374
dir=`tar -tzf petsc.tar.gz | head -1`

0 commit comments

Comments
 (0)