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

CMake: Warn and Continue on Empty HDF5_VERSION #1512

Merged
merged 1 commit into from
Aug 18, 2023

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Aug 18, 2023

Seen on Conda-Forge for arm64 on macOS for HDF5 1.14.1

conda-forge/openpmd-api-feedstock#107

Seen on Conda-Forge for arm64 on macOS for HDF5 1.14.1
@ax3l ax3l added this to the 0.15.2 milestone Aug 18, 2023
@ax3l ax3l requested a review from franzpoeschel August 18, 2023 14:10
@ax3l ax3l merged commit e594d47 into openPMD:dev Aug 18, 2023
@ax3l ax3l deleted the fix-hdf5-keep-going-unknown-version branch August 18, 2023 16:13
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
@rhaas80
Copy link

rhaas80 commented Aug 5, 2024

This still fails to detect the emtpy string on NERSC's Perlmutter (using CC). Would need to be "${HDF5_VERSION}" STREQUAL "" to detect this it seems (HDF5_VERSION is not even defined it seems).

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.

3 participants