Changeset 24929


Ignore:
Timestamp:
05/30/20 16:51:27 (5 years ago)
Author:
jdquinn
Message:

CHG: Corrected configuration for linking stage of static installation; cleanup.

Location:
issm/trunk-jpl/externalpackages/gdal
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/externalpackages/gdal/install-3.0-netcdf.sh

    r24928 r24929  
    99NETCDF_ROOT="${ISSM_DIR}/externalpackages/netcdf/install"
    1010PROJ_ROOT="${ISSM_DIR}/externalpackages/proj/install"
     11ZLIB_ROOT="${ISSM_DIR}/externalpackages/petsc/install"
    1112
    1213# Cleanup
     
    2829./configure \
    2930        --prefix="${ISSM_DIR}/externalpackages/gdal/install" \
     31        --with-libz="${ZLIB_ROOT}" \
    3032        --with-hdf5="${HDF5_ROOT}" \
    3133        --with-netcdf="${NETCDF_ROOT}" \
     
    4042        make -j $1 install
    4143fi
    42 
    43 # Return to initial directory
    44 cd ..
  • TabularUnified issm/trunk-jpl/externalpackages/gdal/install-3.0-python-netcdf-static.sh

    r24928 r24929  
    1010#
    1111VER="3.0.2"
     12
    1213HDF5_ROOT="${ISSM_DIR}/externalpackages/petsc/install"
    1314NETCDF_ROOT="${ISSM_DIR}/externalpackages/netcdf/install"
    1415PROJ_ROOT="${ISSM_DIR}/externalpackages/proj/install"
     16ZLIB_ROOT="${ISSM_DIR}/externalpackages/petsc/install"
    1517
    1618## Environment
     
    1820export CC=mpicc
    1921export CXX=mpicxx
     22export LDFLAGS="-L${HDF5_ROOT}/lib" # Need to do this so HDF5 symbols referenced in NETCDF library are found at link time
     23export LIBS="-lhdf5_hl -lhdf5" # Need to do this so HDF5 symbols referenced in NETCDF library are found at link time
    2024
    2125
     
    3943        --prefix="${ISSM_DIR}/externalpackages/gdal/install" \
    4044        --disable-shared \
     45        --without-ld-shared \
     46        --enable-static \
     47        --with-pic \
    4148        --with-python \
     49        --with-libz="${ZLIB_ROOT}" \
    4250        --with-hdf5="${HDF5_ROOT}" \
    4351        --with-netcdf="${NETCDF_ROOT}" \
     
    5260        make -j $1 install
    5361fi
    54 
    55 # Return to initial directory
    56 cd ..
  • TabularUnified issm/trunk-jpl/externalpackages/gdal/install-3.0-python-netcdf.sh

    r24928 r24929  
    1010#
    1111VER="3.0.2"
     12
    1213HDF5_ROOT="${ISSM_DIR}/externalpackages/petsc/install"
    1314NETCDF_ROOT="${ISSM_DIR}/externalpackages/netcdf/install"
    1415PROJ_ROOT="${ISSM_DIR}/externalpackages/proj/install"
     16ZLIB_ROOT="${ISSM_DIR}/externalpackages/petsc/install"
    1517
    1618# Cleanup
     
    3335        --prefix="${ISSM_DIR}/externalpackages/gdal/install" \
    3436        --with-python \
     37        --with-libz="${ZLIB_ROOT}" \
    3538        --with-hdf5="${HDF5_ROOT}" \
    3639        --with-netcdf="${NETCDF_ROOT}" \
     
    4548        make -j $1 install
    4649fi
    47 
    48 # Return to initial directory
    49 cd ..
  • TabularUnified issm/trunk-jpl/externalpackages/gdal/install-3.0-python.sh

    r24380 r24929  
    4343        make -j $1 install
    4444fi
    45 
    46 # Return to initial directory
    47 cd ..
Note: See TracChangeset for help on using the changeset viewer.