summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@googlemail.com>2017-09-19 14:13:26 +0200
committerGitHub <noreply@github.com>2017-09-19 14:13:26 +0200
commit081403f2805f77ba6a1e555cf99b2034062428e2 (patch)
treecb2fc5f510b2ba1816e0fdf5e9315dc1062fec03
parent34d2762b1f6b8ef905403eabee7d73f3951e6a57 (diff)
downloadspack-081403f2805f77ba6a1e555cf99b2034062428e2.tar.gz
spack-081403f2805f77ba6a1e555cf99b2034062428e2.tar.bz2
spack-081403f2805f77ba6a1e555cf99b2034062428e2.tar.xz
spack-081403f2805f77ba6a1e555cf99b2034062428e2.zip
adios: fixed conditional dependencies on libevpath and dataspaces (#5392)
fixes #5379
-rw-r--r--var/spack/repos/builtin/packages/adios/package.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/adios/package.py b/var/spack/repos/builtin/packages/adios/package.py
index 01013958de..b7b5f58e93 100644
--- a/var/spack/repos/builtin/packages/adios/package.py
+++ b/var/spack/repos/builtin/packages/adios/package.py
@@ -95,12 +95,10 @@ class Adios(AutotoolsPackage):
# optional transports & file converters
depends_on('hdf5@1.8:+mpi', when='+hdf5')
depends_on('netcdf', when='+netcdf')
- depends_on('libevpath', when='+flexpath')
- depends_on('libevpath', when='+staging')
- depends_on('dataspaces+mpi', when='+dataspaces')
- depends_on('dataspaces+mpi', when='+staging')
+ depends_on('libevpath', when='staging=flexpath')
+ depends_on('dataspaces+mpi', when='staging=dataspaces')
- for p in ['+hdf5', '+netcdf', '+flexpath', '+dataspaces', '+staging']:
+ for p in ['+hdf5', '+netcdf', 'staging=flexpath', 'staging=dataspaces']:
conflicts(p, when='~mpi')
build_directory = 'spack-build'