source:
issm/oecreview/Archive/27032-27229/ISSM-27150-27151.diff@
27230
Last change on this file since 27230 was 27230, checked in by , 3 years ago | |
---|---|
File size: 3.9 KB |
-
../trunk-jpl/etc/environment.sh
468 468 NETCDF_ROOT="${ISSM_EXT_DIR}/netcdf/install" 469 469 if [ -d "${NETCDF_ROOT}" ]; then 470 470 export NETCDF_ROOT # Used in installation of GDAL, GMT 471 path_ append "${NETCDF_ROOT}/bin"472 cpath_ append "${NETCDF_ROOT}/include"473 library_path_ append "${NETCDF_ROOT}/lib"474 dyld_library_path_ append "${NETCDF_ROOT}/lib"475 ld_library_path_ append "${NETCDF_ROOT}/lib"471 path_prepend "${NETCDF_ROOT}/bin" 472 cpath_prepend "${NETCDF_ROOT}/include" 473 library_path_prepend "${NETCDF_ROOT}/lib" 474 dyld_library_path_prepend "${NETCDF_ROOT}/lib" 475 ld_library_path_prepend "${NETCDF_ROOT}/lib" 476 476 fi 477 477 478 478 NETCDF_CXX_ROOT="${ISSM_EXT_DIR}/netcdf-cxx/install" … … 490 490 CURL_ROOT="${ISSM_EXT_DIR}/curl/install" 491 491 if [ -d "${CURL_ROOT}" ]; then 492 492 export CURL_ROOT # Used in installation of NetCDF, GDAL, GMT 493 ld_library_path_append "${CURL_ROOT}/lib" 494 dyld_library_path_append "${CURL_ROOT}/lib" 493 cpath_prepend "${CURL_ROOT}/include" 494 ld_library_path_prepend "${CURL_ROOT}/lib" 495 dyld_library_path_prepend "${CURL_ROOT}/lib" 495 496 path_append "${CURL_ROOT}/bin" 496 497 fi 497 498 -
../trunk-jpl/externalpackages/gmt/configs/6/static/cmake/modules/FindGDAL.cmake
147 147 find_library (_found_lib_${_extralib} 148 148 NAMES ${_extralib} 149 149 HINTS 150 ${NETCDF_ROOT} 151 $ENV{NETCDF_ROOT} 150 152 ${HDF5_ROOT} 151 153 $ENV{HDF5_ROOT} 152 154 ${ZLIB_ROOT} -
../trunk-jpl/externalpackages/gmt/configs/6/static/cmake/modules/FindNETCDF.cmake
129 129 130 130 # find all manually-supplied libs 131 131 if (NETCDF_EXTRA_LIBS) 132 # Ensure -l is precede ced by whitespace to not match132 # Ensure -l is preceded by whitespace to not match 133 133 # '-l' in '-L/usr/lib/x86_64-linux-gnu/hdf5/serial' 134 134 string (REGEX MATCHALL "(^| )-l[^ ]+" _netcdf_extra_lib_dashl ${NETCDF_EXTRA_LIBS}) 135 135 string (REGEX REPLACE "(^| )-l" "" _netcdf_extra_shared_lib "${_netcdf_extra_lib_dashl}") -
../trunk-jpl/externalpackages/gmt/install-6-mac-static.sh
19 19 LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*} 20 20 LIBGCC=$(mdfind -onlyin ${LIBGFORTRAN_ROOT} -name libgcc | grep -n libgcc.a | grep -v i386 | sed "s/[0-9]*://g" | head -1) 21 21 22 GDAL_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 .0/static/cmake/modules/FindGDAL.cmake)23 NETCDF_EXTRA_LIBS="-lsqlite3 -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 .0/static/cmake/modules/FindNETCDF.cmake)22 GDAL_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) 23 NETCDF_EXTRA_LIBS="-lsqlite3 -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) 24 24 25 25 # Environment 26 26 #
Note:
See TracBrowser
for help on using the repository browser.