Ignore:
Timestamp:
12/22/21 10:39:44 (3 years ago)
Author:
Mathieu Morlighem
Message:

merged trunk-jpl and trunk for revision 26742

Location:
issm/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk

  • issm/trunk/externalpackages/netcdf/install-4.7.sh

    r25836 r26744  
    99# - curl (7.18.0 or later, for DAP remote access client support)
    1010#
    11 # For most ISSM installations, only hdf5 will be necessary
    12 #
    1311# Sources:
    1412# - https://www.unidata.ucar.edu/software/netcdf/documentation/NUG/getting_and_building_netcdf.html#building
     
    1816#
    1917VER="4.7.2"
    20 CURL_ROOT="${ISSM_DIR}/externalpackages/curl/install"
    21 HDF5_ROOT="${ISSM_DIR}/externalpackages/petsc/install"
    22 ZLIB_ROOT="${ISSM_DIR}/externalpackages/petsc/install"
     18
     19PREFIX="${ISSM_DIR}/externalpackages/netcdf/install" # Set to location where external package should be installed
    2320
    2421# Environment
     
    3431
    3532# Cleanup
    36 rm -rf install src
    37 mkdir install src
     33rm -rf ${PREFIX} src
     34mkdir -p ${PREFIX} src
    3835
    3936# Move source to 'src' directory
    40 mv netcdf-c-${VER}/* src/
     37mv netcdf-c-${VER}/* src
    4138rm -rf netcdf-c-${VER}
    4239
     
    4441cd src
    4542./configure \
    46         --prefix="${ISSM_DIR}/externalpackages/netcdf/install" \
     43        --prefix="${PREFIX}" \
    4744        --disable-static \
    4845        --disable-dependency-tracking \
Note: See TracChangeset for help on using the changeset viewer.