compilers.yaml: require list of strings for modules (#47197)
This commit is contained in:
parent
b063765c2e
commit
5ac2b8a178
@ -275,7 +275,7 @@ def __init__(
|
|||||||
operating_system,
|
operating_system,
|
||||||
target,
|
target,
|
||||||
paths,
|
paths,
|
||||||
modules=None,
|
modules: Optional[List[str]] = None,
|
||||||
alias=None,
|
alias=None,
|
||||||
environment=None,
|
environment=None,
|
||||||
extra_rpaths=None,
|
extra_rpaths=None,
|
||||||
|
@ -61,7 +61,10 @@
|
|||||||
"target": {"type": "string"},
|
"target": {"type": "string"},
|
||||||
"alias": {"anyOf": [{"type": "string"}, {"type": "null"}]},
|
"alias": {"anyOf": [{"type": "string"}, {"type": "null"}]},
|
||||||
"modules": {
|
"modules": {
|
||||||
"anyOf": [{"type": "string"}, {"type": "null"}, {"type": "array"}]
|
"anyOf": [
|
||||||
|
{"type": "null"},
|
||||||
|
{"type": "array", "items": {"type": "string"}},
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"implicit_rpaths": implicit_rpaths,
|
"implicit_rpaths": implicit_rpaths,
|
||||||
"environment": spack.schema.environment.definition,
|
"environment": spack.schema.environment.definition,
|
||||||
|
Loading…
Reference in New Issue
Block a user