summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreugeneswalker <38933153+eugeneswalker@users.noreply.github.com>2021-06-15 06:01:21 -0700
committerGitHub <noreply@github.com>2021-06-15 07:01:21 -0600
commitc302887f9bd9bd7f1b0c34e7daecfc8ca5df77db (patch)
tree6bc0cfc35f9b574ff6519e616c64721f99d624ba
parent5521aae4f7f63b6617e82212d2ef02693318ac3b (diff)
downloadspack-c302887f9bd9bd7f1b0c34e7daecfc8ca5df77db.tar.gz
spack-c302887f9bd9bd7f1b0c34e7daecfc8ca5df77db.tar.bz2
spack-c302887f9bd9bd7f1b0c34e7daecfc8ca5df77db.tar.xz
spack-c302887f9bd9bd7f1b0c34e7daecfc8ca5df77db.zip
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>
-rw-r--r--var/spack/repos/builtin/packages/openpmd-api/package.py6
1 files changed, 6 insertions, 0 deletions
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):