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:
parent
9b6b1a277d
commit
6654d53611
1 changed files with 7 additions and 1 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue