- Timestamp:
- 12/12/20 20:48:20 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/netcdf/install-4.7-with_tests.sh
r25846 r25860 9 9 # - curl (7.18.0 or later, for DAP remote access client support) 10 10 # 11 # For most ISSM installations, only hdf5 will be necessary12 #13 11 # Sources: 14 12 # - https://www.unidata.ucar.edu/software/netcdf/documentation/NUG/getting_and_building_netcdf.html#building … … 19 17 VER="4.7.2" 20 18 21 CURL_ROOT="${ISSM_DIR}/externalpackages/curl/install" 22 HDF5_ROOT="${ISSM_DIR}/externalpackages/petsc/install" 23 ZLIB_ROOT="${ISSM_DIR}/externalpackages/petsc/install" 19 PREFIX="${ISSM_DIR}/externalpackages/netcdf/install" # Set to location where external package should be installed 24 20 25 21 # Environment … … 32 28 33 29 # Unpack source 34 tar -zxvf netcdf-c-$ VER.tar.gz30 tar -zxvf netcdf-c-${VER}.tar.gz 35 31 36 32 # Cleanup 37 rm -rf installsrc38 mkdir installsrc33 rm -rf ${PREFIX} src 34 mkdir -p ${PREFIX} src 39 35 40 36 # Move source to 'src' directory 41 mv netcdf-c-$ VER/* src/42 rm -rf netcdf-c-$ VER37 mv netcdf-c-${VER}/* src 38 rm -rf netcdf-c-${VER} 43 39 44 40 # Configure 45 41 cd src 46 42 ./configure \ 47 --prefix="${ ISSM_DIR}/externalpackages/netcdf/install" \43 --prefix="${PREFIX}" \ 48 44 --disable-static \ 49 45 --disable-dependency-tracking \
Note:
See TracChangeset
for help on using the changeset viewer.