source: issm/oecreview/Archive/24684-25833/ISSM-24965-24966.diff

Last change on this file was 25834, checked in by Mathieu Morlighem, 4 years ago

CHG: added 24684-25833

File size: 1.6 KB
  • ../trunk-jpl/externalpackages/dakota/install-6.2-mac-static.sh

     
    99
    1010## Environment
    1111#
    12 LIBGFORTRAN=$(find /usr/local/Cellar -name libgfortran.a | head -n 1)
     12LIBGFORTRAN=$(find /usr/local/Cellar -name libgfortran.a | grep -v i386 | sed "s/1://")
    1313LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*}
    1414
    1515export BLAS_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lfblas ${LIBGFORTRAN_ROOT}/libgfortran.a ${LIBGFORTRAN_ROOT}/libquadmath.a ${LIBGFORTRAN_ROOT}/gcc/x86_64-apple-darwin15/9.3.0/libgcc.a" # Need to export BLAS_LIBS *and* pass it as an option to CMake to ensure that external packages also find it
  • ../trunk-jpl/externalpackages/dakota/install-6.2-mac.sh

     
    99
    1010## Environment
    1111#
    12 LIBGFORTRAN=$(find /usr/local/Cellar -name libgfortran.* | head -n 1)
     12LIBGFORTRAN=$(find /usr/local/Cellar -name libgfortran.dylib | grep -v i386 | sed "s/1://")
    1313LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*}
    1414
    1515export BLAS_LIBS="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lfblas -L${LIBGFORTRAN_ROOT} -lgfortran" # Need to export BLAS_LIBS *and* pass it as an option to CMake to ensure that external packages also find it
Note: See TracBrowser for help on using the repository browser.