Skip to content

Commit a99c025

Browse files
authored
Merge pull request #149 from metno/bump-hdf5-src
Update changelog and misc fixes
2 parents d27fbbe + 23948b2 commit a99c025

8 files changed

Lines changed: 25 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
matrix:
7171
include:
7272
- {version: hdf5@1.10}
73-
- {version: hdf5@1.14}
73+
- {version: hdf5@2.0}
7474
- {version: hdf5-mpi, mpi: true}
7575
steps:
7676
- name: Checkout repository

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@
66
## hdf5-sys unreleased
77
## hdf5-src unreleased
88

9+
## hdf5 v0.12.2
10+
Release date: Feb 09, 2026
11+
- Fixed MPIO include
12+
13+
## hdf5-sys v0.11.2
14+
Release date: Feb 09, 2026
15+
- Fixed name of MPIO include
16+
17+
## hdf5-src v0.10.1
18+
Release date: Feb 09, 2026
19+
- Fixed name of cmake build option
20+
921
## hdf5-sys v0.11.1
1022
Release date: Jan 20, 2026
1123
- Fixed an import for windows using prebuilt hdf5 2.0.0

hdf5-src/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ include = [
4646
"!ext/hdf5/HDF5Examples/**",
4747
"!ext/hdf5/doxygen/**",
4848
]
49-
version = "0.10.0" # !V
49+
version = "0.10.1" # !V
5050
rust-version.workspace = true
5151
authors.workspace = true
5252
keywords.workspace = true

hdf5-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "Native bindings to the HDF5 library."
55
links = "hdf5"
66
readme = "README.md"
77
categories = ["development-tools::ffi", "filesystem", "science"]
8-
version = "0.11.1" # !V
8+
version = "0.11.2" # !V
99
rust-version.workspace = true
1010
authors.workspace = true
1111
keywords.workspace = true

hdf5-sys/build.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,13 @@ mod macos {
363363
"any version"
364364
}
365365
);
366+
if !(v18 || v110 || v112 || v114) {
367+
if let Some(out) = run_command("brew", &["--prefix", "hdf5@2.0"]) {
368+
if is_root_dir(&out) {
369+
config.inc_dir = Some(PathBuf::from(out).join("include"));
370+
}
371+
}
372+
}
366373
if !(v18 || v110 || v112) {
367374
if let Some(out) = run_command("brew", &["--prefix", "hdf5@1.14"]) {
368375
if is_root_dir(&out) {

hdf5-sys/src/h5fd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ mod globals_2_0_0 {
485485
extern_static!(H5FD_SEC2, H5FD_SEC2_id_g);
486486
extern_static!(H5FD_SPLITTER, H5FD_SPLITTER_id_g);
487487
extern_static!(H5FD_STDIO, H5FD_STDIO_id_g);
488-
#[cfg(feature = "have_parallel")]
488+
#[cfg(feature = "have-parallel")]
489489
extern_static!(H5FD_MPIO, H5FD_MPIO_id_g);
490490
}
491491

hdf5/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ readme = "../README.md"
44
description = "Thread-safe Rust bindings for the HDF5 library."
55
build = "build.rs"
66
categories = ["science", "filesystem"]
7-
version = "0.12.1" # !V
7+
version = "0.12.2" # !V
88
rust-version.workspace = true
99
authors.workspace = true
1010
keywords.workspace = true

hdf5/src/globals.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ pub static H5FD_MULTI: LazyLock<hid_t> = LazyLock::new(|| {
361361

362362
// MPI-IO file driver
363363
#[cfg(all(feature = "2.0.0", all(feature = "have-parallel", feature = "mpio")))]
364-
pub static H5FD_MPIO: LazyLock<hid_t> = LazyLock::new(|| *hdf5_sys::h5p::H5FD_MPIO_id);
364+
pub static H5FD_MPIO: LazyLock<hid_t> = LazyLock::new(|| *hdf5_sys::h5fd::H5FD_MPIO);
365365
#[cfg(all(feature = "2.0.0", not(all(feature = "have-parallel", feature = "mpio"))))]
366366
pub static H5FD_MPIO: LazyLock<hid_t> = LazyLock::new(|| H5I_INVALID_HID);
367367

0 commit comments

Comments
 (0)