diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/intel-oneapi-compilers-classic/package.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-compilers-classic/package.py b/var/spack/repos/builtin/packages/intel-oneapi-compilers-classic/package.py index ea1d720514..9b1f585bc6 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-compilers-classic/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-compilers-classic/package.py @@ -44,8 +44,14 @@ class IntelOneapiCompilersClassic(Package): and from setting CC/CXX/F77/FC """ + bin = join_path( - self.spec["intel-oneapi-compilers"].prefix, "compile", "linux", "bin", "intel64" + self.spec["intel-oneapi-compilers"].prefix, + "compiler", + self.spec["intel-oneapi-compilers"].version, + "linux", + "bin", + "intel64", ) env.set("CC", join_path(bin, "icc")) env.set("CXX", join_path(bin, "icpc")) |