Skip to content

Change h5repack low library bound to H5F_LIBVER_V18#6352

Open
ajelenak wants to merge 12 commits into
HDFGroup:developfrom
ajelenak:h5repack-low-libver
Open

Change h5repack low library bound to H5F_LIBVER_V18#6352
ajelenak wants to merge 12 commits into
HDFGroup:developfrom
ajelenak:h5repack-low-libver

Conversation

@ajelenak
Copy link
Copy Markdown
Contributor

@ajelenak ajelenak commented Apr 5, 2026

Closes #6348.

Comment thread tools/src/h5repack/h5repack.c
@github-project-automation github-project-automation Bot moved this from To be triaged to In progress in HDF5 - TRIAGE & TRACK Apr 6, 2026
@hyoklee hyoklee added the Component - Tools Command-line tools like h5dump, includes high-level tools label Apr 7, 2026
Comment thread tools/src/h5repack/h5repack_main.c Dismissed
@bmribler bmribler self-requested a review April 24, 2026 16:23
@bmribler bmribler self-assigned this Apr 24, 2026
hyoklee
hyoklee previously approved these changes May 4, 2026
bmribler
bmribler previously approved these changes May 11, 2026
…ygwin (HDFGroup#6396)

The earlier block (line 164-167) adds _GNU_SOURCE to
CMAKE_REQUIRED_DEFINITIONS and via add_definitions for MinGW/Cygwin.
However, the later 'MinGW and Cygwin' block overwrites
CMAKE_REQUIRED_DEFINITIONS using CURRENT_TEST_DEFINITIONS (which is
undefined/empty), discarding _GNU_SOURCE. This causes subsequent
configure checks like vasprintf to not see _GNU_SOURCE in their test
definitions.

Use CMAKE_REQUIRED_DEFINITIONS instead of CURRENT_TEST_DEFINITIONS
to append to the existing definitions (which already include
_GNU_SOURCE) rather than replacing them.

Fixes HDFGroup#5885
brtnfld and others added 3 commits May 21, 2026 10:13
…#6406)

Both ninja and curl are pre-installed on the GitHub macOS runners,
causing noisy "already installed" warnings. Drop those brew steps
entirely (or just remove ninja/curl where other packages like graphviz
or libaec are still needed).
…#6404)

Make sure that everything is clean before copying files to a directory.
…DFGroup#6408)

Before creating the namespaced `hdf5::<name>` alias, query
ALIASED_TARGET so we point the new alias at the real target.  When
the target is not an alias the behaviour is unchanged.

config/HDF5Use{ZLIB,Libaec}.cmake: resolve ALIASED_TARGET before re-aliasing
@ajelenak ajelenak requested a review from bmribler May 21, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component - Tools Command-line tools like h5dump, includes high-level tools

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

h5repack 2 should create output files with H5F_LIBVER_V18 as default lower bound

7 participants