Commit ade83037 authored by Rob Latham's avatar Rob Latham
Browse files

add an 'hdf5' variant to darshan

parent b459b874
from spack.pkg.builtin.darshan_runtime import DarshanRuntime
class DarshanRuntime(DarshanRuntime):
variant('hdf5', default=False, description='additional HDF5 statistics')
depends_on('hdf5@1.10.0:', when='+hdf5')
def configure_args(self):
spec = self.spec
config_args = super(DarshanRuntime, self).configure_args()
if '+hdf5' in spec:
config_args.append('--enable-hdf5-mod')
return config_args
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment