Warn users of the future removal of platform=cray (#43980)
This commit is contained in:
parent
bcd05407b8
commit
2db5bca778
1 changed files with 6 additions and 0 deletions
|
@ -3776,6 +3776,12 @@ class Solver:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.driver = PyclingoDriver()
|
self.driver = PyclingoDriver()
|
||||||
self.selector = ReusableSpecsSelector(configuration=spack.config.CONFIG)
|
self.selector = ReusableSpecsSelector(configuration=spack.config.CONFIG)
|
||||||
|
if spack.platforms.host().name == "cray":
|
||||||
|
msg = (
|
||||||
|
"The Cray platform, i.e. 'platform=cray', will be removed in Spack v0.23. "
|
||||||
|
"All Cray machines will be then detected as 'platform=linux'."
|
||||||
|
)
|
||||||
|
warnings.warn(msg)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _check_input_and_extract_concrete_specs(specs):
|
def _check_input_and_extract_concrete_specs(specs):
|
||||||
|
|
Loading…
Reference in a new issue