Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
sds-repo
Commits
ade83037
Commit
ade83037
authored
Feb 26, 2021
by
Rob Latham
Browse files
add an 'hdf5' variant to darshan
parent
b459b874
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/darshan-runtime/package.py
0 → 100644
View file @
ade83037
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment