openpmd-api: conflicts w hdf5 api=v110, v16, v18 (#24323)

* openpmd-api: conflicts w hdf5 api=v110, v16, v18
* Update var/spack/repos/builtin/packages/openpmd-api/package.py
* Add reference

Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
This commit is contained in:
eugeneswalker 2021-06-15 06:01:21 -07:00 committed by GitHub
parent 5521aae4f7
commit c302887f9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,6 +61,12 @@ class OpenpmdApi(CMakePackage):
depends_on('py-mpi4py@2.1.0:', when='+python +mpi', type=['test', 'run'])
depends_on('python@3.6:', when='+python', type=['link', 'test', 'run'])
conflicts('^hdf5 api=v16', msg='openPMD-api requires HDF5 APIs for 1.8+')
# compatibility macros are unclear:
# https://github.com/HDFGroup/hdf5/issues/754
conflicts('^hdf5@1.12: api=v18')
conflicts('^hdf5@1.12: api=v110')
extends('python', when='+python')
def cmake_args(self):