Changeset 27406


Ignore:
Timestamp:
11/21/22 12:03:29 (2 years ago)
Author:
jdquinn
Message:

CHG: Print message that we’re looking for libgfortran; new patch file for latest version of Gmsh; testing if we still need patch file for Gmsh static

Location:
issm/trunk-jpl/externalpackages
Files:
3 added
12 edited

Legend:

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

    r27397 r27406  
    1616# - Otherwise, refactor this to work with other gfortran installations.
    1717#
     18echo "Finding libgfortran..."
    1819LIBGFORTRAN=$(find /usr -name libgfortran* 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1)
    1920LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*}
  • issm/trunk-jpl/externalpackages/dakota/install-6.2-linux.sh

    r27397 r27406  
    1414# - Move this to etc/environment.sh
    1515#
     16echo "Finding libgfortran..."
    1617LIBGFORTRAN=$(find /usr -name libgfortran* 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1)
    1718LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*}
  • issm/trunk-jpl/externalpackages/dakota/install-6.2-mac-static.sh

    r27400 r27406  
    1616# - Otherwise, refactor this to work with other gfortran installations.
    1717#
     18echo "Finding libgfortran..."
    1819LIBGFORTRAN=$(find /usr -name libgfortran* 2>/dev/null | egrep -n libgfortran.a | egrep -v i386 | sed "s/[0-9]*://g" | head -1)
    1920LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*}
  • issm/trunk-jpl/externalpackages/dakota/install-6.2-mac.sh

    r27400 r27406  
    1414# - Move this to etc/environment.sh
    1515#
     16echo "Finding libgfortran..."
    1617LIBGFORTRAN=$(find /usr -name libgfortran* 2>/dev/null | egrep -n libgfortran.a | egrep -v i386 | sed "s/[0-9]*://g" | head -1)
    1718LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*}
  • issm/trunk-jpl/externalpackages/gmsh/install-4-linux-static.sh

    r27397 r27406  
    2424# - Move this to etc/environment.sh
    2525#
     26echo "Finding libgfortran..."
    2627LIBGFORTRAN=$(find /usr -name libgfortran* 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1)
    2728LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*}
  • issm/trunk-jpl/externalpackages/gmsh/install-4-linux.sh

    r27397 r27406  
    2424# - Move this to etc/environment.sh
    2525#
     26echo "Finding libgfortran..."
    2627LIBGFORTRAN=$(find /usr -name libgfortran* 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1)
    2728LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*}
  • issm/trunk-jpl/externalpackages/gmsh/install-4-mac-static.sh

    r27397 r27406  
    1515## Constants
    1616#
     17
     18# NOTE: If updating version at all, need to generate new patch for
     19#               configs/${VER}/static/CMakeLists.txt after applying changes from
     20#               previous version
     21#
    1722VER="4.10.5"
    1823
     
    2732# - Otherwise, refactor this to work with other gfortran installations.
    2833#
     34echo "Finding libgfortran..."
    2935LIBGFORTRAN=$(find /usr -name libgfortran* 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1)
    3036LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*}
     
    4551rm -rf gmsh-${VER}-source
    4652
    47 # Copy customized source and config files to 'src' directory
    48 cp configs/${VER}/static/CMakeLists.txt src
     53# Apply patches
     54#patch src/CMakeLists.txt < configs/${VER}/static/CMakeLists.txt.patch
    4955
    5056# Configure
     
    8288        make -j $1 install
    8389fi
    84 
    85 # Make necessary link on RHEL
    86 if [[ -d ${PREFIX}/lib64 && ! -d ${PREFIX}/lib ]]; then
    87         cd ${PREFIX}
    88         ln -s ./lib64 ./lib
    89 fi
  • issm/trunk-jpl/externalpackages/gmsh/install-4-mac.sh

    r27397 r27406  
    2424# - Move this to etc/environment.sh
    2525#
     26echo "Finding libgfortran..."
    2627LIBGFORTRAN=$(find /usr -name libgfortran* 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1)
    2728LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*}
  • issm/trunk-jpl/externalpackages/gmt/install-6-linux-static.sh

    r27397 r27406  
    1414# - Otherwise, refactor this to work with other gfortran installations.
    1515#
     16echo "Finding libgfortran..."
    1617LIBGFORTRAN=$(find /usr -name libgfortran* 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1)
    1718LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*}
  • issm/trunk-jpl/externalpackages/gmt/install-6-linux.sh

    r27397 r27406  
    1212# - Move this to etc/environment.sh
    1313#
     14echo "Finding libgfortran..."
    1415LIBGFORTRAN=$(find /usr -name libgfortran* 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1)
    1516LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*}
  • issm/trunk-jpl/externalpackages/gmt/install-6-mac-static.sh

    r27397 r27406  
    1414# - Otherwise, refactor this to work with other gfortran installations.
    1515#
     16echo "Finding libgfortran..."
    1617LIBGFORTRAN=$(find /usr -name libgfortran* 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1)
    1718LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*}
  • issm/trunk-jpl/externalpackages/gmt/install-6-mac.sh

    r27397 r27406  
    1212# - Move this to etc/environment.sh
    1313#
     14echo "Finding libgfortran..."
    1415LIBGFORTRAN=$(find /usr -name libgfortran* 2>/dev/null | egrep -n libgfortran.a | sed "s/[0-9]*://g" | head -1)
    1516LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*}
Note: See TracChangeset for help on using the changeset viewer.