From 081403f2805f77ba6a1e555cf99b2034062428e2 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Tue, 19 Sep 2017 14:13:26 +0200 Subject: adios: fixed conditional dependencies on libevpath and dataspaces (#5392) fixes #5379 --- var/spack/repos/builtin/packages/adios/package.py | 8 +++----- 1 file 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' -- cgit v1.2.3-60-g2f50