Skip to content

Install ZFP filter shared library to lib/plugin instead of plugin#270

Open
lrknox wants to merge 2 commits into
HDFGroup:masterfrom
lrknox:fix-libh5zzfp-install-dest
Open

Install ZFP filter shared library to lib/plugin instead of plugin#270
lrknox wants to merge 2 commits into
HDFGroup:masterfrom
lrknox:fix-libh5zzfp-install-dest

Conversation

@lrknox

@lrknox lrknox commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

H5Z-ZFP/src/CMakeLists.txt (vendored via subtree) hardcodes the shared plugin's install destination to plugin, instead of following this project's lib/plugin convention. Relocate the installed file at install time so libh5zzfp.so lands in /lib/plugin like every other filter, without patching the vendored subtree.

H5Z-ZFP/src/CMakeLists.txt (vendored via subtree) hardcodes the shared
plugin's install destination to plugin, instead of following this
project's lib/plugin convention. Relocate the installed file at
install time so libh5zzfp.so lands in /lib/plugin like
every other filter, without patching the vendored subtree.
@lrknox lrknox marked this pull request as draft July 11, 2026 14:05
@lrknox lrknox self-assigned this Jul 11, 2026
@lrknox

lrknox commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator Author

Additional fix needed for a packaging test failure on ubuntu.

CPack (e.g. the DEB generator used by the Ubuntu CI job) stages
installs into  while leaving CMAKE_INSTALL_PREFIX at its
literal configured value. install(TARGETS)/install(FILES) handle this
automatically via the DESTDIR-aware file(INSTALL), but the plain
file(MAKE_DIRECTORY)/file(RENAME) calls added to relocate libh5zzfp.so
did not, so packaging tried to create/rename outside the staging tree
and failed with 'No such file or directory'. Prepend {DESTDIR} by
hand to match.
@lrknox

lrknox commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator Author

All tests now pass.

@lrknox lrknox marked this pull request as ready for review July 11, 2026 14:52
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.

1 participant