Skip to content

Commit

Permalink
fix #846 - Update netcdf 4.3.0 to 4.3.2 and hdf5 and zlib dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
durack1 committed Nov 23, 2014
1 parent 111e733 commit 6e7d2d3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
5 changes: 2 additions & 3 deletions CMake/cdat_modules/hdf5_pkg.cmake
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
set(HDF5_MAJOR_SRC 1)
set(HDF5_MINOR_SRC 8)
set(HDF5_PATCH_SRC 8)
set(HDF5_PATCH_SRC 13)
set(HDF5_URL ${LLNL_URL})
set(HDF5_GZ hdf5-${HDF5_MAJOR_SRC}.${HDF5_MINOR_SRC}.${HDF5_PATCH_SRC}.tar.gz)
set(HDF5_MD5 1196e668f5592bfb50d1de162eb16cff)

set(HDF5_MD5 c03426e9e77d7766944654280b467289)

set (nm HDF5)
string(TOUPPER ${nm} uc_nm)
Expand Down
7 changes: 2 additions & 5 deletions CMake/cdat_modules/netcdf_pkg.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
set(NC4_MAJOR 4)
set(NC4_MINOR 1)
set(NC4_PATCH 2)
set(NC4_MAJOR_SRC 4)
set(NC4_MINOR_SRC 3)
set(NC4_PATCH_SRC 0.uvcdat.2)
set(NC4_PATCH_SRC 2)
set(NC4_URL ${LLNL_URL})
set(NC4_GZ netcdf-${NC4_MAJOR_SRC}.${NC4_MINOR_SRC}.${NC4_PATCH_SRC}.tar.gz)
set(NC4_MD5 6c5a8c5c32016a2ac4128711e1484805)
set(NC4_MD5 2fd2365e1fe9685368cd6ab0ada532a0)

set (nm NC4)
string(TOUPPER ${nm} uc_nm)
Expand Down
8 changes: 5 additions & 3 deletions CMake/cdat_modules/zlib_pkg.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@ elseif (ZLIB_PATCH_SRC EQUAL 5)
set(ZLIB_MD5 c735eab2d659a96e5a594c9e8541ad63)
elseif (ZLIB_PATCH_SRC EQUAL 7)
set(ZLIB_MD5 60df6a37c56e7c1366cca812414f7b85)
elseif (ZLIB_PATCH_SRC EQUAL 8)
set(ZLIB_MD5 44d667c142d7cda120332623eab69f40)
else ()
message(FATAL_ERROR "error: invalid zlib patch number: '${ZLIB_PATCH_SRC}' valid: 3, 5 or 7")
message(FATAL_ERROR "error: invalid zlib patch number: '${ZLIB_PATCH_SRC}' valid: 3, 5, 7 or 8")
endif()

set(ZLIB_MAJOR_SRC 1)
set(ZLIB_MINOR_SRC 2)
#ZLIB_PATH_SRC and md5 is configured in CMakeLists.txt because on some RedHAt system we need to change it
#set(ZLIB_PATCH_SRC 3)
#ZLIB_PATH_SRC and md5 is configured in CMakeLists.txt because on some RedHat system we need to change it ; # I don't believe this is true anymore durack1 23 Nov 2014
#set(ZLIB_PATCH_SRC 8)
set(ZLIB_VERSION ${ZLIB_MAJOR_SRC}.${ZLIB_MINOR_SRC}.${ZLIB_PATCH_SRC})
set(ZLIB_URL ${LLNL_URL})
set(ZLIB_GZ zlib-${ZLIB_VERSION}.tar.gz)
Expand Down

0 comments on commit 6e7d2d3

Please sign in to comment.