Skip to content

Update h5z zfp subtree#272

Closed
lrknox wants to merge 250 commits into
HDFGroup:masterfrom
lrknox:update-h5z-zfp-subtree
Closed

Update h5z zfp subtree#272
lrknox wants to merge 250 commits into
HDFGroup:masterfrom
lrknox:update-h5z-zfp-subtree

Conversation

@lrknox

@lrknox lrknox commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

markcmiller86 and others added 30 commits October 27, 2016 16:10
Not doing so may leave parameter bits unwritten. Many thanks to Peter
Lindstrom (@lindstro) for finding this bug.

Closes #1
Flush stream after writing ZFP header
Fix array dimension order in zfp_field_* calls
brtnfld and others added 15 commits January 8, 2025 18:26
Enable Security Checking reporting.
* Fix CMake error with HDF5 2.0.0 when HDF5_BUILD_FORTRAN is undefined, Fixes HDFGroup#154
* Updated the read-the-docs CI
* Fix HDF5 tool compatibility for newer version naming
* Link math library (-lm) to all test executables
* added CI for develop and 1.14.0
* updated GitHub Actions versions, and added automatic updates with Dependabot
Bumps the github-actions group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [github/codeql-action](https://github.com/github/codeql-action) and [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/checkout` from 3 to 6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v6)

Updates `github/codeql-action` from 3 to 4
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v3...v4)

Updates `actions/upload-artifact` from 4 to 5
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…DFGroup#158)

Bumps the github-actions group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/upload-artifact` from 5 to 6
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…DFGroup#160)

Use BUILD_RPATH with a generator expression to resolve zfp at build
time, and INSTALL_RPATH "$ORIGIN" for a relocatable install. This
replaces BUILD_WITH_INSTALL_RPATH which conflated the two contexts.
Bumps cmake_minimum_required to 3.16 for generator expression support
in BUILD_RPATH.
…DFGroup#161)

Bumps the github-actions group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/upload-artifact` from 6 to 7
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Remove GNU Make/autotools build system, keep CMake only

- Remove Makefile, config.make, src/Makefile, test/Makefile, docs/Makefile
- Remove .travis.yml (deprecated CI using Make)
- Remove .readthedocs.yaml (ReadTheDocs config)
- Remove autotools build step from GitHub Actions workflow
- Add CMake 'docs' target for building Sphinx documentation
- Update documentation to remove Make references
- Fix malformed hyperlink in docs/index.rst
- Update README.md with CMake-only build instructions
* Add code coverage job to GitHub Actions workflow
* Add GitHub Actions and ReadTheDocs badges to README
* Fix Windows CI: replace wget with curl for HDF5 download
* Support Make-built ZFP via FindZFP.cmake fallback
ZFP can be built with either CMake or its vanilla Makefile. When built
with make, no ZFPConfig.cmake is generated. This adds:

- cmake/FindZFP.cmake module that locates headers and library directly
  and creates the zfp::zfp imported target as a fallback
- CMakeLists.txt tries CONFIG mode first, falls back to FindZFP module
- CI job that builds ZFP with make to test this path
- Updated installation docs to cover both ZFP build methods
* Extract ZFP version from headers in FindZFP.cmake
When ZFP is built with make, the ZFP_VERSION_MAJOR/MINOR/PATCH
variables are not set, causing test compilation to fail with
'invalid suffix "x" on integer constant' because ZFP_LIB_VERSION
ends up as 0x (empty version components). Parse the version from
zfp/version.h (ZFP 1.0+) or zfp.h (older) to fix this.
…FGroup#164)

Bumps the github-actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).


Updates `codecov/codecov-action` from 3 to 5
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v3...v5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…DFGroup#168)

Use H5Dget_chunk_info_by_coord (HDF5 1.12+) to dynamically find the
chunk's file offset instead of the hardcoded value 3496.  HDF5 2.1.0
changed internal file layout so the chunk no longer lives at that
address, causing the raw-byte corruption to miss the ZFP stream and
yielding only 652 differing values instead of the expected 1408.
…FGroup#169)

Bumps the github-actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).


Updates `codecov/codecov-action` from 5 to 7
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v5...v7)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…up (HDFGroup#170)

Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 6 to 7
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Allow shared plugin install destination to be overridden.

* Use CACHE STRING for H5Z_ZFP_PLUGIN_INSTALL_DIR, not CACHE PATH

CMake silently absolutizes relative values of CACHE PATH/FILEPATH
variables passed via -D on the command line, anchoring them to the
current working directory (the build dir) rather than
CMAKE_INSTALL_PREFIX. That broke the documented "relative to
CMAKE_INSTALL_PREFIX" behavior for the most common invocation, e.g.:

  cmake -DCMAKE_INSTALL_PREFIX=<prefix> -DH5Z_ZFP_PLUGIN_INSTALL_DIR=lib/plugin ..

installed to <build-dir>/lib/plugin instead of <prefix>/lib/plugin.
CACHE STRING isn't subject to this normalization and still supports
absolute-path overrides, since install(DESTINATION) resolves
relative-vs-absolute from the string content, not the cache type.

Verified with cmake --install across three cases (default, relative
-D override, absolute -D override): all three now land under
CMAKE_INSTALL_PREFIX as expected except the absolute case, which is
used verbatim as intended.

---------

Co-authored-by: Scot Breitenfeld <brtnfld@hdfgroup.org>
@lrknox

lrknox commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator Author

More comprehensive changes to enable subtree updates required in #273.

@lrknox
lrknox deleted the update-h5z-zfp-subtree branch July 16, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.