Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CMake: HDF5 Libs are PUBLIC #1520

Merged
merged 1 commit into from
Aug 20, 2023
Merged

Fix CMake: HDF5 Libs are PUBLIC #1520

merged 1 commit into from
Aug 20, 2023

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Aug 20, 2023

We do not yet use FindHDF5.cmake CMake targets and thus need to ensure the libs are propagated properly (they are not consumed necessarily as private)

First seen when building with -Wl,--disable-new-dtags for RPATH over newer RUNPATH.

FindHDF5.cmake introduced targets in 3.19 but changed them again in 3.20+:

We do not yet use `FindHDF5.cmake` CMake targets and thus need to ensure
the libs are propagated properly (they are not consumed necessarily as private)

First seen when building with `-Wl,--disable-new-dtags` for RPATH
over newer RUNPATH.
@ax3l ax3l merged commit e01f721 into openPMD:dev Aug 20, 2023
28 checks passed
@ax3l ax3l deleted the fix-hdf5-lib-public branch August 20, 2023 03:56
eschnett added a commit to eschnett/openPMD-api that referenced this pull request Sep 5, 2023
* dev:
  Fix CMake: HDF5 Libs are PUBLIC (openPMD#1520)
  Fix `chmod` in `download_samples.sh` (openPMD#1518)
  CI: Old CTest (openPMD#1519)
  Python: Fix ODR Violation (openPMD#1521)
  replace extent in weighting and displacement (openPMD#1510)
  CMake: Warn and Continue on Empty HDF5_VERSION (openPMD#1512)
  Replace openPMD_Datatypes global with function (openPMD#1509)
  Streaming examples: Set WAN as default transport (openPMD#1511)
  TOML Backend (openPMD#1436)
  make it possible to manually set chunks when loading dask arrays (openPMD#1477)
  [pre-commit.ci] pre-commit autoupdate (openPMD#1504)
  Optional debugging output for AbstractIOHandlerImpl::flush() (openPMD#1495)
  Python: 3.8+ (openPMD#1502)

# Conflicts:
#	.github/workflows/linux.yml
#	src/binding/python/Series.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants