Ignore:
Timestamp:
03/13/24 11:46:12 (12 months ago)
Author:
jdquinn
Message:

CHG: Fixes for latest version of Xcode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/petsc/install-3.20-mac-silicon.sh

    r28031 r28138  
    55## Constants
    66#
    7 VER="3.20.2"
     7VER="3.20.5"
    88
    99PETSC_DIR="${ISSM_DIR}/externalpackages/petsc/src" # DO NOT CHANGE THIS
     
    4545make
    4646make install
     47
     48# Need to make sure classic linker is used (should be able to remove this once MPICH fixes it)
     49if [[ ${LDFLAGS} =~ "-Wl,-ld_classic" ]]; then
     50        sed -i'' -e 's/-Wl,-commons,use_dylibs//g' ${PREFIX}/bin/mpicc
     51        sed -i'' -e 's/-Wl,-commons,use_dylibs//g' ${PREFIX}/bin/mpicxx
     52fi
Note: See TracChangeset for help on using the changeset viewer.