Changeset 27557


Ignore:
Timestamp:
02/06/23 11:37:44 (2 years ago)
Author:
jdquinn
Message:

BUG: Configure PETSc 3.14 with Python 3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/petsc/install-3.14-mac-static.sh

    r27553 r27557  
    2323mv petsc-${VER}/* ${PETSC_DIR}
    2424rm -rf petsc-${VER}
     25
     26# Modify source so that Python 3 can be used to compile PETSc
     27sed -i'' 's|#!/usr/bin/env python|#!/usr/bin/env python3|g' ${PETSC_DIR}/config/configure.py
     28
     29# Modify source so that Python >= 3.9 can be used to compile PETSc
     30sed -i'' 's|thread.isAlive|thread.is_alive|g' ${PETSC_DIR}/config/BuildSystem/script.py
    2531
    2632# Configure
Note: See TracChangeset for help on using the changeset viewer.