Ignore:
Timestamp:
11/19/22 15:08:12 (2 years ago)
Author:
jdquinn
Message:

CHG: Updates to way we discover libgfortran in ext pkg install scripts; file name; compact unbind warning suppression.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/dakota/install-6.2-linux-static.sh

    r27357 r27397  
    1313# TODO:
    1414# - 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.
    1517#
    16 LIBGFORTRAN=$(find /usr -name libgfortran* | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1)
     18LIBGFORTRAN=$(find /usr -name libgfortran* 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1)
    1719LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*}
    18 LIBGCC=$(find ${LIBGFORTRAN_ROOT} -name libgcc* | egrep -n libgcc.a | sed "s/[0-9]*://g" | head -1)
     20LIBGCC=$(find ${LIBGFORTRAN_ROOT} -name libgcc* 2>/dev/null | egrep -n libgcc.a | sed "s/[0-9]*://g" | head -1)
    1921
    2022## Environment
Note: See TracChangeset for help on using the changeset viewer.