File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
var/spack/repos/builtin/packages/intel-oneapi-compilers Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 88
99from spack .build_environment import dso_suffix
1010from spack .package import *
11+ from spack .util .environment import EnvironmentModifications
1112
1213versions = [
1314 {
@@ -396,6 +397,14 @@ def setup_run_environment(self, env):
396397 """
397398 super ().setup_run_environment (env )
398399
400+ # umf is packaged with compiler and not available as a standalone
401+ if "~envmods" not in self .spec :
402+ env .extend (
403+ EnvironmentModifications .from_sourcing_file (
404+ self .prefix .umf .latest .env .join ("vars.sh" ), * self .env_script_args
405+ )
406+ )
407+
399408 env .set ("CC" , self ._llvm_bin .icx )
400409 env .set ("CXX" , self ._llvm_bin .icpx )
401410 env .set ("F77" , self ._llvm_bin .ifx )
You can’t perform that action at this time.
0 commit comments