- Timestamp:
- 11/19/22 15:08:12 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/gmsh/install-4-mac-static.sh
r27202 r27397 22 22 # Find libgfortran and libgcc so we do not have to hardcode them 23 23 # 24 # Should retrieve a copy of gfortran that is compiled from source before returning one that is installed via package manager25 #26 24 # TODO: 27 25 # - Move this to etc/environment.sh … … 29 27 # - Otherwise, refactor this to work with other gfortran installations. 30 28 # 31 LIBGFORTRAN=$( mdfind -onlyin /usr -name libgfortran | egrep -n libgfortran.a | egrep -v i386| sed "s/[0-9]*://g" | head -1)29 LIBGFORTRAN=$(find /usr -name libgfortran* 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1) 32 30 LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*} 33 LIBGCC=$( mdfind -onlyin ${LIBGFORTRAN_ROOT} -name libgcc | egrep -n libgcc.a | egrep -v i386| sed "s/[0-9]*://g" | head -1)31 LIBGCC=$(find ${LIBGFORTRAN_ROOT} -name libgcc* 2>/dev/null | egrep -n libgcc.a | sed "s/[0-9]*://g" | head -1) 34 32 35 33 # Cleanup
Note:
See TracChangeset
for help on using the changeset viewer.