Changeset 24454
- Timestamp:
- 12/06/19 21:38:51 (5 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 14 added
- 2 deleted
- 10 edited
- 7 copied
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/curl/install-7.67-with_tests.sh
r24452 r24454 2 2 set -eu 3 3 4 #Some cleanup5 rm -rf src install curl-7.39.06 mkdir src install7 4 8 #Download from ISSM server 9 $ISSM_DIR/scripts/DownloadExternalPackage.sh 'https://issm.ess.uci.edu/files/externalpackages/curl-7.39.0.tar.gz' 'curl-7.39.0.tar.gz' 5 ## Constants 6 # 7 VER="7.67.0" 10 8 11 # Untar12 tar -zxvf curl-7.39.0.tar.gz 9 # Download source 10 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/curl-${VER}.tar.gz" "curl-${VER}.tar.gz" 13 11 14 #Move curl into src directory 15 mv curl-7.39.0/* src 16 rm -rf curl-7.39.0 12 # Unpack source 13 tar -zxvf curl-$VER.tar.gz 17 14 18 #Configure curl 15 # Cleanup 16 rm -rf install src 17 mkdir install src 18 19 # Move source to 'src' directory 20 mv curl-$VER/* src 21 rm -rf curl-$VER 22 23 # Configure 19 24 cd src 25 ./configure \ 26 --prefix="${ISSM_DIR}/externalpackages/curl/install" \ 27 --disable-manual 20 28 21 export CFLAGS=" -arch x86_64" 22 23 ./configure \ 24 --prefix="$ISSM_DIR/externalpackages/curl/install" 25 26 #Compile curl 29 # Compile and install 27 30 if [ $# -eq 0 ]; then 28 31 make 32 make test 33 make install 29 34 else 30 35 make -j $1 36 make -j $1 test 37 make -j $1 install 31 38 fi 32 make install 39 40 # Return to initial directory 41 cd ../.. -
issm/trunk-jpl/externalpackages/curl/install-7.67.sh
r24452 r24454 2 2 set -eu 3 3 4 #Some cleanup5 rm -rf src install curl-7.39.06 mkdir src install7 4 8 #Download from ISSM server 9 $ISSM_DIR/scripts/DownloadExternalPackage.sh 'https://issm.ess.uci.edu/files/externalpackages/curl-7.39.0.tar.gz' 'curl-7.39.0.tar.gz' 5 ## Constants 6 # 7 VER="7.67.0" 10 8 11 # Untar12 tar -zxvf curl-7.39.0.tar.gz 9 # Download source 10 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/curl-${VER}.tar.gz" "curl-${VER}.tar.gz" 13 11 14 #Move curl into src directory 15 mv curl-7.39.0/* src 16 rm -rf curl-7.39.0 12 # Unpack source 13 tar -zxvf curl-$VER.tar.gz 17 14 18 #Configure curl 15 # Cleanup 16 rm -rf install src 17 mkdir install src 18 19 # Move source to 'src' directory 20 mv curl-$VER/* src 21 rm -rf curl-$VER 22 23 # Configure 19 24 cd src 25 ./configure \ 26 --prefix="${ISSM_DIR}/externalpackages/curl/install" \ 27 --disable-manual \ 28 --disable-verbose 20 29 21 export CFLAGS=" -arch x86_64" 22 23 ./configure \ 24 --prefix="$ISSM_DIR/externalpackages/curl/install" 25 26 #Compile curl 30 # Compile and install 27 31 if [ $# -eq 0 ]; then 28 32 make 33 make install 29 34 else 30 35 make -j $1 36 make -j $1 install 31 37 fi 32 make install 38 39 # Return to initial directory 40 cd ../.. -
issm/trunk-jpl/externalpackages/gdal/install-1.10-debian-netcdf.sh
r24452 r24454 5 5 # Constants 6 6 # 7 VER=" 3.0.2"7 VER="1.10.0" 8 8 HDF5_ROOT="${ISSM_DIR}/externalpackages/petsc/install" 9 9 NETCDF_ROOT="${ISSM_DIR}/externalpackages/petsc/install" … … 15 15 16 16 # Download source 17 $ISSM_DIR/scripts/DownloadExternalPackage.sh "http ://issm.jpl.nasa.gov/files/externalpackages/gdal-${VER}.tar.gz" "gdal-${VER}.tar.gz"17 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/gdal-${VER}.tar.gz" "gdal-${VER}.tar.gz" 18 18 19 19 # Unpack source 20 tar -zxvf gdal-$ VER.tar.gz20 tar -zxvf gdal-${VER}.tar.gz 21 21 22 22 # Move source into 'src' directory 23 mv gdal-$VER/* src 24 rm -rf gdal-$VER 23 mv gdal-${VER}/* src 24 rm -rf gdal-${VER} 25 26 # Copy customized source files to 'src' directory 27 cp configs/1.10/linux/debian/frmts/wms/dataset.cpp src/frmts/wms 28 cp configs/1.10/linux/debian/ogr/ogrsf_frmts/vfk/vfkfeature.cpp src/ogr/ogrsf_frmts/vfk 29 cp configs/1.10/linux/debian/port/cplkeywordparser.cpp src/port 25 30 26 31 # Configure -
issm/trunk-jpl/externalpackages/gdal/install-3.0-python-netcdf.sh
r24415 r24454 7 7 # 8 8 9 # Constants9 ## Constants 10 10 # 11 11 VER="3.0.2" -
issm/trunk-jpl/externalpackages/gdal/install-3.0.sh
r24380 r24454 16 16 17 17 # Unpack source 18 tar -zxvf gdal-$ VER.tar.gz18 tar -zxvf gdal-${VER}.tar.gz 19 19 20 20 # Move source into 'src' directory … … 30 30 --with-proj="${PROJ_ROOT}" 31 31 32 33 32 # Compile and install 34 33 if [ $# -eq 0 ]; then -
issm/trunk-jpl/externalpackages/gmt/configs/linux/5.1/cmake/ConfigUser.cmake
r24416 r24454 1 1 # 2 # 3 # Copyright (c) 1991-2019 by the GMT Team (https://www.generic-mapping-tools.org/team.html) 2 # $Id: ConfigUserTemplate.cmake 12904 2014-02-17 20:52:35Z fwobbe $ 3 # 4 # Copyright (c) 1991-2014 by P. Wessel, W. H. F. Smith, R. Scharroo, J. Luis and F. Wobbe 4 5 # See LICENSE.TXT file for copying and redistribution conditions. 5 6 # … … 13 14 # for more details. 14 15 # 15 # Contact info: www.generic-mapping-tools.org16 # Contact info: gmt.soest.hawaii.edu 16 17 # ---------------------------------------------------------------------------- 17 18 … … 19 20 # basis. First copy 'ConfigUserTemplate.cmake' to 'ConfigUser.cmake', then 20 21 # edit 'ConfigUser.cmake'. 'ConfigUser.cmake' is not version controlled 21 # (currently listed in .gitignore).22 # (currently listed in svn:ignore property) 22 23 # 23 24 # Note: CMake considers an empty string, "FALSE", "OFF", "NO", or any string … … 34 35 # Basic setup begins here. All settings are optional. In most cases, setting 35 36 # CMAKE_INSTALL_PREFIX should be all you need to do in order to build GMT with 36 # reasonable defaults enabled. Note: If you need to specify directory names 37 # with spaces (e.g., on Windows) then you must put them in quotes. 37 # reasonable defaults enabled. 38 38 # ============================================================================ 39 39 … … 53 53 #set (GMT_INSTALL_MODULE_LINKS FALSE) 54 54 55 # Make executables relocatable on supported platforms (relative RPATH) [FALSE]: 56 set (GMT_INSTALL_RELOCATABLE TRUE) 57 58 # Exclude optional GDAL, PCRE, PCRE2, FFTW3, LAPACK, BLAS, ZLIB dependencies even if you have them installed [FALSE] 59 #set (GMT_EXCLUDE_GDAL TRUE) 60 #set (GMT_EXCLUDE_PCRE TRUE) 61 #set (GMT_EXCLUDE_PCRE2 TRUE) 62 #set (GMT_EXCLUDE_FFTW3 TRUE) 63 #set (GMT_EXCLUDE_LAPACK TRUE) 64 #set (GMT_EXCLUDE_BLAS TRUE) 65 #set (GMT_EXCLUDE_ZLIB TRUE) 55 # Make executables relocatable on supported platforms (relative RPATH) [TRUE]: 56 #set (GMT_INSTALL_RELOCATABLE FALSE) 66 57 67 58 # ============================================================================ … … 93 84 94 85 # Install documentation files from this external location instead of creating 95 # new HTML documents from scratch [${GMT_SOURCE_DIR}/doc_release]:86 # new PDF and HTML documents from scratch [${GMT_SOURCE_DIR}/doc_release]: 96 87 #set (GMT_INSTALL_EXTERNAL_DOC OFF) 97 88 … … 105 96 ## 106 97 107 # Set URL to GMT Data server [auto]:108 #set (GMT_DATA_SERVER "data_server_url")109 110 98 # Set path to GSHHG Shoreline Database [auto]: 111 99 set (GSHHG_ROOT "$ENV{ISSM_DIR}/externalpackages/gshhg/install") 112 100 113 # Copy GSHHG files to $ {GMT_DATADIR}/coast [FALSE]:101 # Copy GSHHG files to $/coast [FALSE]: 114 102 #set (COPY_GSHHG TRUE) 115 103 … … 117 105 #set (DCW_ROOT "dcw-gmt_path") 118 106 119 # Copy DCW files to $ {GMT_DATADIR}/dcw [FALSE]:107 # Copy DCW files to $/dcw [FALSE]: 120 108 #set (COPY_DCW TRUE) 121 122 # Copy GDAL's 'data' directory to ${GMT_DATADIR}/GDAL_DATA [FALSE]:123 #set (GDAL_DATA_PATH C:/programs/compa_libs/gdal_GIT/compileds/VC14_64/data)124 125 # Copy PROJ4's 'share' directory to ${GMT_DATADIR}/GDAL_DATA [FALSE]:126 #set (PROJ_DATA_PATH C:/programs/compa_libs/proj5_GIT/compileds/VC14_64/share/proj)127 128 # FOR WINDOWS ONLY129 # Set path to location of Ghostscript binaries (optional install)130 #set (GHOST_DATA_PATH C:/programs/compa_libs/ghostscript/bin)131 132 # FOR WINDOWS ONLY133 # Set path to location where the gmtmex is located.134 #set (GMTMEX_PATH "C:/progs_cygw/GMTdev/gmtmex/${GMTver}")135 109 136 110 # Set location of NetCDF (can be root directory, path to header file or path 137 111 # to nc-config) [auto]: 138 set (NETCDF_ROOT "$ENV{ISSM_DIR}/externalpackages/ petsc/install")112 set (NETCDF_ROOT "$ENV{ISSM_DIR}/externalpackages/netcdf/install") 139 113 140 114 # Set location of GDAL (can be root directory, path to header file or path to … … 145 119 # pcre-config) [auto]: 146 120 #set (PCRE_ROOT "pcre_install_prefix") 147 # Alternatively, set location of PCRE2 (can be root directory, path to header file or path to148 # pcre2-config) [auto]:149 #set (PCRE2_ROOT "pcre2_install_prefix")150 121 151 122 # Set location of single precision FFTW (can be root directory or path to … … 154 125 155 126 # Set location of ZLIB (can be root directory or path to header file) [auto]: 156 set (ZLIB_ROOT "$ENV{ISSM_DIR}/externalpackages/petsc/install") 157 158 # Set location of CURL (can be root directory or path to header file) [auto]: 159 #set (CURL_ROOT "curl_install_prefix") 160 161 # Set location of GLIB component gthread [auto]. This is an optional (and 162 # experimental) option which you need to enable: 163 #set (GMT_USE_THREADS TRUE) 164 # If pkg-config is not installed (e.g. on Windows) you need to specify these: 165 #set (GLIB_INCLUDE_DIR c:/path/to/glib-dev/include/glib-2.0) 166 #set (GLIB_LIBRARIES c:/path/to/glib-dev/lib/glib-2.0.lib) 167 168 # Set LAPACK location. Use this when want to link with LAPACK and it's not found automatically 169 set (LAPACK_LIBRARY "-L$ENV{ISSM_DIR}/externalpackages/lapack/install/lib -llapack") 170 set (BLAS_LIBRARY "-L$ENV{ISSM_DIR}/externalpackages/lapack/install/lib -lblas") 127 set (ZLIB_ROOT "$ENV{ISSM_DIR}/externalpackages/zlib/install") 171 128 172 129 ## … … 179 136 #set (LICENSE_RESTRICTED GPL) 180 137 181 # Allow building of OpenMP if compiler supports it182 # set (GMT_ENABLE_OPENMP TRUE)183 184 138 # Configure default units (possible values are SI and US) [SI]: 185 139 #set (UNITS "US") 186 140 187 141 # Enable building of shared libraries [TRUE] (disable to use static libraries; 188 # not recommended ; on non-x86 architectures uncomment the next option as well):142 # not recommended): 189 143 #set (BUILD_SHARED_LIBS FALSE) 190 191 # Create position independent code on all targets [auto] (needed for static192 # build on non-x86):193 #set (CMAKE_POSITION_INDEPENDENT_CODE TRUE)194 144 195 145 # Build GMT shared lib with supplemental modules [TRUE]: 196 146 #set (BUILD_SUPPLEMENTS FALSE) 197 198 # Build/Install GMT Developer include files [TRUE]:199 # This installs the extra include files and configured files needed by 3rd-party200 # developers. Until we build a separate gmt-devel we include them in the main201 # Distribution.202 #set (BUILD_DEVELOPER FALSE)203 147 204 148 ## … … 216 160 #set (DO_EXAMPLES TRUE) 217 161 #set (DO_TESTS TRUE) 218 #set (DO_ANIMATIONS TRUE)219 162 # Number of parallel test jobs with "make check": 220 163 #set (N_TEST_JOBS 4) … … 227 170 # List extra sub-dirs of 'src' with a CMakeList.txt to build non-module codes 228 171 # that link against the full gmt libs (not just the API; for building codes 229 # that only need the GMT API, see the gmt -customproject).172 # that only need the GMT API, see the gmtextension project). 230 173 #set (EXTRA_BUILD_DIRS apidemo) 231 # Uncomment the following line to enable running low-level C tests of the API232 #set (DO_API_TESTS ON)233 174 234 175 # Directory in which to install the release sources per default … … 250 191 251 192 # Extra debugging for developers: 252 #if ( CMAKE_GENERATOR STREQUAL "Xcode" )253 ## So Xcode can find the supplemental plug-ins during debug sessions254 # add_definitions(-DXCODER)255 # add_definitions(-DDEBUG_MODERN) # To set PPID == 0 during Xcode test256 # message("Add Xcode definition for GMT")257 #endif()258 193 #add_definitions(-DDEBUG) 259 194 #add_definitions(-DMEMDEBUG) # Turn on memory tracking see gmt_support.c for extra info … … 261 196 #set (CMAKE_C_FLAGS "-Wextra ${CMAKE_C_FLAGS}") # extra warnings 262 197 #set (CMAKE_C_FLAGS_DEBUG -ggdb3) # gdb debugging symbols 198 #set (CMAKE_C_FLAGS_RELEASE "-ggdb3 -O2 -Wuninitialized") # check uninitialized variables 263 199 #set (CMAKE_LINK_DEPENDS_DEBUG_MODE TRUE) # debug link dependencies 264 if (HAVE_OPENMP)265 set (CMAKE_C_FLAGS_RELEASE "-ggdb3 -O2 -Wuninitialized -flax-vector-conversions") # check uninitialized variables266 else (HAVE_OPENMP)267 set (CMAKE_C_FLAGS_RELEASE "-ggdb3 -O2 -Wuninitialized") # check uninitialized variables268 endif (HAVE_OPENMP)269 200 270 201 # … … 292 223 # If want to rename the DLLs to something else than the default (e.g. to 293 224 # append the bitness - Windows only) 294 # WARNING: if using this option it is mandatory that the suffix starts with an underscore.295 225 #if (WIN32) 296 226 # set (BITAGE 32) … … 307 237 # add_definitions(/D_ALLOW_KEYWORD_MACROS) 308 238 #endif(MSVC11) 239 240 # vim: textwidth=78 noexpandtab tabstop=2 softtabstop=2 shiftwidth=2 -
issm/trunk-jpl/externalpackages/gmt/configs/linux/6.0/cmake/ConfigUser.cmake
r24416 r24454 136 136 # Set location of NetCDF (can be root directory, path to header file or path 137 137 # to nc-config) [auto]: 138 set (NETCDF_ROOT "$ENV{ISSM_DIR}/externalpackages/ petsc/install")138 set (NETCDF_ROOT "$ENV{ISSM_DIR}/externalpackages/netcdf/install") 139 139 140 140 # Set location of GDAL (can be root directory, path to header file or path to … … 154 154 155 155 # Set location of ZLIB (can be root directory or path to header file) [auto]: 156 set (ZLIB_ROOT "$ENV{ISSM_DIR}/externalpackages/ petsc/install")156 set (ZLIB_ROOT "$ENV{ISSM_DIR}/externalpackages/zlib/install") 157 157 158 158 # Set location of CURL (can be root directory or path to header file) [auto]: -
issm/trunk-jpl/externalpackages/gmt/install-5.1-linux.sh
r24452 r24454 3 3 4 4 5 # #Constants5 # Constants 6 6 # 7 VER=" 6.0.0"7 VER="5.1.1" 8 8 9 9 # Download source … … 21 21 rm -rf gmt-$VER 22 22 23 # Copy custom configuration files24 cp ./configs/Linux/cmake/ConfigUser.cmake ./src/cmake23 # Copy source customizations 24 cp configs/5.1/linux/cmake/ConfigUser.cmake src/cmake 25 25 26 26 # Configure … … 30 30 cmake .. 31 31 32 # Compile and install32 # Install 33 33 if [ $# -eq 0 ]; then 34 make35 34 make install 36 35 else 37 make -j $138 36 make -j $1 install 39 37 fi -
issm/trunk-jpl/externalpackages/gmt/install-6.0-linux.sh
r24330 r24454 2 2 set -eu 3 3 4 5 ## Environment 6 # 7 CURL_ROOT="${ISSM_DIR}/externalpackages/curl/install" 4 8 5 9 ## Constants … … 22 26 23 27 # Copy custom configuration files 24 cp ./configs/ Linux/cmake/ConfigUser.cmake ./src/cmake28 cp ./configs/6.0/linux/cmake/ConfigUser.cmake ./src/cmake 25 29 26 30 # Configure … … 28 32 mkdir build 29 33 cd build 30 cmake .. 34 35 # NOTE: There is a CMake variable named CURL_ROOT in src/cmake/ConfigUser.cmake 36 # that, ostensibly, allows for supplying the path to curl when it is in a 37 # a non-standard location. That said, newer versions of CMake will 38 # ignore said variable and instead try to find curl itself. Passing in 39 # the two options below overrides this behavior. 40 cmake \ 41 -DCURL_LIBRARY="${CURL_ROOT}/lib" \ 42 -DCURL_INCLUDE_DIR="${CURL_ROOT}/include" \ 43 .. 31 44 32 45 # Compile and install -
issm/trunk-jpl/externalpackages/netcdf/install-4.7-parallel-with_tests.sh
r24428 r24454 21 21 # 22 22 export CC=mpicc 23 export CPPFLAGS="-I${HDF5_ROOT}/include -I${ZLIB_ROOT}/include" 24 export LDFLAGS="-L${HDF5_ROOT}/lib -L${ZLIB_ROOT}/lib" 23 CURL_ROOT="${ISSM_DIR}/externalpackages/curl/install" 24 HDF5_ROOT="${ISSM_DIR}/externalpackages/hdf5/install" 25 ZLIB_ROOT="${ISSM_DIR}/externalpackages/zlib/install" 25 26 26 27 # Download source -
issm/trunk-jpl/externalpackages/netcdf/install-4.7-parallel.sh
r24428 r24454 15 15 # 16 16 VER="4.7.2" 17 CURL_ROOT="${ISSM_DIR}/externalpackages/curl/install" 17 18 HDF5_ROOT="${ISSM_DIR}/externalpackages/hdf5/install" 18 19 ZLIB_ROOT="${ISSM_DIR}/externalpackages/zlib/install" … … 21 22 # 22 23 export CC=mpicc 23 export CPPFLAGS="-I${HDF5_ROOT}/include -I${ZLIB_ROOT}/include "24 export LDFLAGS="-L${HDF5_ROOT}/lib -L${ZLIB_ROOT}/lib "24 export CPPFLAGS="-I${HDF5_ROOT}/include -I${ZLIB_ROOT}/include -I${CURL_ROOT}/include" 25 export LDFLAGS="-L${HDF5_ROOT}/lib -L${ZLIB_ROOT}/lib -L${CURL_ROOT}/lib" 25 26 26 27 # Download source -
issm/trunk-jpl/externalpackages/netcdf/install-4.7-with_tests.sh
r24428 r24454 14 14 # 15 15 VER="4.7.2" 16 CURL_ROOT="${ISSM_DIR}/externalpackages/curl/install" 17 HDF5_ROOT="${ISSM_DIR}/externalpackages/hdf5/install" 16 18 ZLIB_ROOT="${ISSM_DIR}/externalpackages/zlib/install" 17 19 18 20 # Environment 19 21 # 20 export CPPFLAGS="-I${HDF5_ROOT}/include -I${ZLIB_ROOT}/include "21 export LDFLAGS="-L${HDF5_ROOT}/lib -L${ZLIB_ROOT}/lib "22 export CPPFLAGS="-I${HDF5_ROOT}/include -I${ZLIB_ROOT}/include -I${CURL_ROOT}/include" 23 export LDFLAGS="-L${HDF5_ROOT}/lib -L${ZLIB_ROOT}/lib -L${CURL_ROOT}/lib" 22 24 23 25 # Download source -
issm/trunk-jpl/externalpackages/netcdf/install-4.7.sh
r24428 r24454 14 14 # 15 15 VER="4.7.2" 16 CURL_ROOT="${ISSM_DIR}/externalpackages/curl/install" 16 17 HDF5_ROOT="${ISSM_DIR}/externalpackages/hdf5/install" 17 18 ZLIB_ROOT="${ISSM_DIR}/externalpackages/zlib/install" … … 19 20 # Environment 20 21 # 21 export CPPFLAGS="-I${HDF5_ROOT}/include -I${ZLIB_ROOT}/include "22 export LDFLAGS="-L${HDF5_ROOT}/lib -L${ZLIB_ROOT}/lib "22 export CPPFLAGS="-I${HDF5_ROOT}/include -I${ZLIB_ROOT}/include -I${CURL_ROOT}/include" 23 export LDFLAGS="-L${HDF5_ROOT}/lib -L${ZLIB_ROOT}/lib -L${CURL_ROOT}/lib" 23 24 24 25 # Download source -
issm/trunk-jpl/jenkins/ross-debian_linux-solid_earth
r24428 r24454 52 52 zlib install-1.2.sh 53 53 hdf5 install-1.10.sh 54 curl install-7.67.sh 54 55 netcdf install-4.7.sh 55 56 proj install-6.2.sh 56 gdal install-3.0- netcdf.sh57 gdal install-3.0-python-netcdf.sh 57 58 gshhg install.sh 58 gmt install- 6.0-linux.sh59 gmt install-5.1-linux.sh 59 60 gmsh install.sh 60 61 shell2junit install.sh
Note:
See TracChangeset
for help on using the changeset viewer.