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>
This commit is contained in:
Robert Cohn 2022-08-23 12:14:24 -07:00 committed by GitHub
parent 9b6b1a277d
commit 6654d53611
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,8 +44,14 @@ def setup_run_environment(self, env):
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"))