Changeset 27762


Ignore:
Timestamp:
05/18/23 15:12:14 (22 months ago)
Author:
jdquinn
Message:

CHG: Working towards static linking of lcurl and hdf5 libs to libnetcdf on binaries builds

Location:
issm/trunk-jpl/externalpackages
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/gmt/install-6-linux-static.sh

    r27761 r27762  
    2020
    2121GDAL_EXTRA_LIBS="-lstdc++" # Determined by running `$GDAL_ROOT/bin/gdal-config --dep-libs` then removing duplicate libs
    22 NETCDF_EXTRA_LIBS="-L${HDF5_ROOT}/lib -lhdf5 -lhdf5_hl -lm -ldl -lz" # `$NETCDF_ROOT/bin/nc-config --libs` does not report certain dependencies of certain static libraries (see also customized configuration file ./configs/6.0/static/cmake/modules/FindNETCDF.cmake)
     22NETCDF_EXTRA_LIBS="-lm -ldl -lz" # `$NETCDF_ROOT/bin/nc-config --libs` does not report certain dependencies of certain static libraries (see also customized configuration file ./configs/6.0/static/cmake/modules/FindNETCDF.cmake)
    2323
    2424# Environment
  • issm/trunk-jpl/externalpackages/gmt/install-6-mac-static.sh

    r27761 r27762  
    2020
    2121GDAL_EXTRA_LIBS="-lc++" # `$GDAL_ROOT/bin/gdal-config --dep-libs` does not report need to link to libc++ (see also customized configuration file ./configs/6/static/cmake/modules/FindGDAL.cmake)
    22 NETCDF_EXTRA_LIBS="-L${HDF5_ROOT}/lib -lhdf5 -lhdf5_hl -lpthread -ldl -liconv" # `$NETCDF_ROOT/bin/nc-config --libs` does not report certain dependencies of certain static libraries (see also customized configuration file ./configs/6/static/cmake/modules/FindNETCDF.cmake)
     22NETCDF_EXTRA_LIBS="-lpthread -ldl -liconv" # `$NETCDF_ROOT/bin/nc-config --libs` does not report certain dependencies of certain static libraries (see also customized configuration file ./configs/6/static/cmake/modules/FindNETCDF.cmake)
    2323
    2424# Environment
  • issm/trunk-jpl/externalpackages/netcdf/install-4.7-parallel-static-with_tests.sh

    r27567 r27762  
    1717# TODO:
    1818# - Compile and link curl statically (issue with DAP and system libs on macOS
    19 #       with more restirctive Gatekeeper; see also --disable-dap option in
     19#       with more restrictive Gatekeeper; see also --disable-dap option in
    2020#       configuration)
    2121#
  • issm/trunk-jpl/externalpackages/netcdf/install-4.7-parallel-static.sh

    r27567 r27762  
    1717# TODO:
    1818# - Compile and link curl statically (issue with DAP and system libs on macOS
    19 #       with more restirctive Gatekeeper; see also --disable-dap option in
     19#       with more restrictive Gatekeeper; see also --disable-dap option in
    2020#       configuration)
    2121#
  • issm/trunk-jpl/externalpackages/netcdf/install-4.7-parallel-with_tests.sh

    r27567 r27762  
    2222#
    2323export CC=mpicc
    24 export CPPFLAGS="-I${CURL_ROOT}/include -I${ZLIB_ROOT}/include"
    25 export LDFLAGS="-L${CURL_ROOT}/lib -L${ZLIB_ROOT}/lib"
     24export CPPFLAGS="-I${HDF5_ROOT}/include -I${CURL_ROOT}/include -I${ZLIB_ROOT}/include"
     25export LDFLAGS="-L${HDF5_ROOT}/lib -L${CURL_ROOT}/lib -L${ZLIB_ROOT}/lib"
    2626
    2727# Download source
  • issm/trunk-jpl/externalpackages/netcdf/install-4.7-parallel.sh

    r27567 r27762  
    2222#
    2323export CC=mpicc
    24 export CPPFLAGS="-I${CURL_ROOT}/include -I${ZLIB_ROOT}/include"
    25 export LDFLAGS="-L${CURL_ROOT}/lib -L${ZLIB_ROOT}/lib"
     24export CPPFLAGS="-I${HDF5_ROOT}/include -I${CURL_ROOT}/include -I${ZLIB_ROOT}/include"
     25export LDFLAGS="-L${HDF5_ROOT}/lib -L${CURL_ROOT}/lib -L${ZLIB_ROOT}/lib"
    2626
    2727# Download source
  • issm/trunk-jpl/externalpackages/netcdf/install-4.7-with_tests.sh

    r27567 r27762  
    2121# Environment
    2222#
    23 export CPPFLAGS="-I${CURL_ROOT}/include -I${ZLIB_ROOT}/include"
    24 export LDFLAGS="-L${CURL_ROOT}/lib -L${ZLIB_ROOT}/lib"
     23export CPPFLAGS="-I${HDF5_ROOT}/include -I${CURL_ROOT}/include -I${ZLIB_ROOT}/include"
     24export LDFLAGS="-L${HDF5_ROOT}/lib -L${CURL_ROOT}/lib -L${ZLIB_ROOT}/lib"
    2525
    2626# Download source
  • issm/trunk-jpl/externalpackages/netcdf/install-4.7.sh

    r27567 r27762  
    2121# Environment
    2222#
    23 export CPPFLAGS="-I${CURL_ROOT}/include -I${ZLIB_ROOT}/include"
    24 export LDFLAGS="-L${CURL_ROOT}/lib -L${ZLIB_ROOT}/lib"
     23export CPPFLAGS="-I${HDF5_ROOT}/include -I${CURL_ROOT}/include -I${ZLIB_ROOT}/include"
     24export LDFLAGS="-L${HDF5_ROOT}/lib -L${CURL_ROOT}/lib -L${ZLIB_ROOT}/lib"
    2525
    2626# Download source
Note: See TracChangeset for help on using the changeset viewer.