- Timestamp:
- 11/19/22 15:08:12 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/dakota/install-6.2-linux-static.sh
r27357 r27397 13 13 # TODO: 14 14 # - Move this to etc/environment.sh 15 # - Test if -static-libgfortran flag will avoid all of this. 16 # - Otherwise, refactor this to work with other gfortran installations. 15 17 # 16 LIBGFORTRAN=$(find /usr -name libgfortran* | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1)18 LIBGFORTRAN=$(find /usr -name libgfortran* 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1) 17 19 LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*} 18 LIBGCC=$(find ${LIBGFORTRAN_ROOT} -name libgcc* | egrep -n libgcc.a | sed "s/[0-9]*://g" | head -1)20 LIBGCC=$(find ${LIBGFORTRAN_ROOT} -name libgcc* 2>/dev/null | egrep -n libgcc.a | sed "s/[0-9]*://g" | head -1) 19 21 20 22 ## Environment
Note:
See TracChangeset
for help on using the changeset viewer.