Skip to content

Commit 92b8384

Browse files
committed
name 2.1.1 patch reason
1 parent cb77d28 commit 92b8384

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
cmake_minimum_required(VERSION 3.25...4.3)
2+
# CMake >= 3.26 required if building HDF5
23

34
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)
45
message(FATAL_ERROR "Please do out of source build like

cmake/CheckHDF5.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ elseif(WIN32 AND stderr MATCHES "0xc0000139")
2828
message(STATUS "test run error may be due to Windows security policy
2929
${stderr}")
3030
else()
31-
message(WARNING "HDF5 C types failed check")
31+
message(WARNING "HDF5 failed compiler check. ${stderr}")
3232
endif()
3333
endfunction()
3434

cmake/hdf5.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ include(GNUInstallDirs)
55
include(FetchContent)
66

77
if(NOT DEFINED h5fortran_hdf5_req)
8-
set(h5fortran_hdf5_req dev)
8+
set(h5fortran_hdf5_req 2.1patch)
99
endif()
10-
# HDF5 2.0 and 2.1 require CMake >= 3.26, but the benefits are so great that this is worthwhile
10+
# HDF5 2.x require CMake >= 3.26, but the benefits are so great that this is worthwhile
1111

1212
if(hdf5_parallel)
1313
set(HDF5_PREFER_PARALLEL ON)
@@ -26,7 +26,7 @@ set(HDF5_GENERATE_HEADERS OFF)
2626
set(HDF5_PACKAGE_EXTLIBS ON)
2727
set(HDF5_DISABLE_COMPILER_WARNINGS ON)
2828

29-
if(h5fortran_hdf5_req STREQUAL "dev" OR h5fortran_hdf5_req VERSION_GREATER_EQUAL "2.0")
29+
if(h5fortran_hdf5_req STREQUAL "2.1patch" OR h5fortran_hdf5_req VERSION_GREATER_EQUAL "2.0")
3030
set(ZLIB_USE_EXTERNAL ON)
3131
set(HDF5_ALLOW_EXTERNAL_SUPPORT TGZ)
3232
if(h5fortran_hdf5_zlib)

cmake/libraries.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"1.10": "https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5-1_10_11.tar.gz",
44
"1.14": "https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5_1.14.6.tar.gz",
55
"2.0": "https://github.com/HDFGroup/hdf5/archive/refs/tags/2.0.0.tar.gz",
6-
"2.1": "https://github.com/HDFGroup/hdf5/archive/refs/tags/2.1.0.tar.gz",
7-
"dev": "https://github.com/HDFGroup/hdf5/archive/353da6cce4228f0520585dc12b9b77ed7032d59d.tar.gz"
6+
"2.1": "https://github.com/HDFGroup/hdf5/archive/refs/tags/2.1.1.tar.gz",
7+
"2.1patch": "https://github.com/HDFGroup/hdf5/archive/353da6cce4228f0520585dc12b9b77ed7032d59d.tar.gz",
8+
"$comment": "vital commit for dev is 7f79a4e3c79b6ea2b6a5dee81e9f624cceb51bdd on March 18, 2026, which isn't in tag 2.1.1"
89
}
910
}

0 commit comments

Comments
 (0)