From c302887f9bd9bd7f1b0c34e7daecfc8ca5df77db Mon Sep 17 00:00:00 2001 From: eugeneswalker <38933153+eugeneswalker@users.noreply.github.com> Date: Tue, 15 Jun 2021 06:01:21 -0700 Subject: 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 --- var/spack/repos/builtin/packages/openpmd-api/package.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/openpmd-api/package.py b/var/spack/repos/builtin/packages/openpmd-api/package.py index a968b88fda..c30d830714 100644 --- a/var/spack/repos/builtin/packages/openpmd-api/package.py +++ b/var/spack/repos/builtin/packages/openpmd-api/package.py @@ -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): -- cgit v1.2.3-60-g2f50