diff options
author | Robert Cohn <robert.s.cohn@intel.com> | 2022-08-23 12:14:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-23 12:14:24 -0700 |
commit | 6654d536117c8b89baeb2d5b1902e4b9618c103c (patch) | |
tree | 2324ab6057736787b07da2ffc861210beaa7dc06 /var | |
parent | 9b6b1a277da83ad21026269ebe2844beb6ec0c80 (diff) | |
download | spack-6654d536117c8b89baeb2d5b1902e4b9618c103c.tar.gz spack-6654d536117c8b89baeb2d5b1902e4b9618c103c.tar.bz2 spack-6654d536117c8b89baeb2d5b1902e4b9618c103c.tar.xz spack-6654d536117c8b89baeb2d5b1902e4b9618c103c.zip |
intel-oneapi-compilers-classic: fix paths (#32305)
* Fix intel-oneapi-compilers-classic bin path
* Update package.py
* intel-oneapi-compilers-classic fix path
Co-authored-by: OfirGan <offirgan@gmail.com>
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")) |