summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Huebl <axel.huebl@plasma.ninja>2019-02-18 08:54:27 +0100
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2019-02-18 08:54:27 +0100
commit899c83c21562632a6f9157a9a5b04be16a2b93b5 (patch)
tree30dc565cc449e50523443c44ae59cb247a277e1c
parente5dc5c173e258be843c18d2dc5839fbd7ea94551 (diff)
downloadspack-899c83c21562632a6f9157a9a5b04be16a2b93b5.tar.gz
spack-899c83c21562632a6f9157a9a5b04be16a2b93b5.tar.bz2
spack-899c83c21562632a6f9157a9a5b04be16a2b93b5.tar.xz
spack-899c83c21562632a6f9157a9a5b04be16a2b93b5.zip
openPMD-api: mpi4py support (#10616)
Refactor dependencies, increase new min versions, add mpi4py variant.
-rw-r--r--var/spack/repos/builtin/packages/openpmd-api/package.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/openpmd-api/package.py b/var/spack/repos/builtin/packages/openpmd-api/package.py
index c7e0591685..719dad7fb4 100644
--- a/var/spack/repos/builtin/packages/openpmd-api/package.py
+++ b/var/spack/repos/builtin/packages/openpmd-api/package.py
@@ -30,8 +30,8 @@ class OpenpmdApi(CMakePackage):
description='Enable Python bindings')
depends_on('cmake@3.11.0:', type='build')
- depends_on('mpark-variant@1.3.0:')
- depends_on('catch@2.3.0: ~single_header', type='test')
+ depends_on('mpark-variant@1.4.0:')
+ depends_on('catch@2.6.1: ~single_header', type='test')
depends_on('mpi@2.3:', when='+mpi') # might become MPI 3.0+
depends_on('hdf5@1.8.13:', when='+hdf5')
depends_on('hdf5@1.8.13: ~mpi', when='~mpi +hdf5')
@@ -42,10 +42,11 @@ class OpenpmdApi(CMakePackage):
depends_on('adios2@2.3.0:', when='+adios2')
depends_on('adios2@2.3.0: ~mpi', when='~mpi +adios2')
depends_on('adios2@2.3.0: +mpi', when='+mpi +adios2')
- depends_on('nlohmann-json@3.4.0:', when='+json')
+ depends_on('nlohmann-json@3.5.0:', when='+json')
# ideally we want 2.3.0+ for full C++11 CT function signature support
- depends_on('py-pybind11@2.2.3:', when='+python', type='link')
+ depends_on('py-pybind11@2.2.4:', when='+python', type='link')
depends_on('py-numpy@1.15.1:', when='+python', type=['test', 'run'])
+ depends_on('py-mpi4py@2.1.0:', when='+python +mpi', type=['test', 'run'])
depends_on('python@3.5:', when='+python', type=['link', 'test', 'run'])
extends('python', when='+python')