umf only avaiable with 2025 (#48027)
This commit is contained in:
parent
e9d2732e00
commit
f760e16688
@ -398,7 +398,7 @@ def setup_run_environment(self, env):
|
|||||||
super().setup_run_environment(env)
|
super().setup_run_environment(env)
|
||||||
|
|
||||||
# umf is packaged with compiler and not available as a standalone
|
# umf is packaged with compiler and not available as a standalone
|
||||||
if "~envmods" not in self.spec:
|
if "~envmods" not in self.spec and self.spec.satisfies("@2025:"):
|
||||||
env.extend(
|
env.extend(
|
||||||
EnvironmentModifications.from_sourcing_file(
|
EnvironmentModifications.from_sourcing_file(
|
||||||
self.prefix.umf.latest.env.join("vars.sh"), *self.env_script_args
|
self.prefix.umf.latest.env.join("vars.sh"), *self.env_script_args
|
||||||
|
Loading…
Reference in New Issue
Block a user