diff --git a/var/spack/repos/builtin/packages/adios/package.py b/var/spack/repos/builtin/packages/adios/package.py index 01013958de27b801a264809d6e33d814eda3ef78..b7b5f58e93988f5cfafa28855e1b0651e00ae4a3 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'