summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Cohn <robert.s.cohn@intel.com>2022-09-16 14:16:06 -0400
committerGitHub <noreply@github.com>2022-09-16 14:16:06 -0400
commit9e0755ca3a125f6360ea84223630a05363536101 (patch)
tree847b6267d847a3eba8b7651a56545ae14304575a
parent0f26931628bf6485b07ffe4611eb1ef3cec2c8c7 (diff)
downloadspack-9e0755ca3a125f6360ea84223630a05363536101.tar.gz
spack-9e0755ca3a125f6360ea84223630a05363536101.tar.bz2
spack-9e0755ca3a125f6360ea84223630a05363536101.tar.xz
spack-9e0755ca3a125f6360ea84223630a05363536101.zip
[intel-oneapi-compilers] fix CC/CXX (#32677)
-rw-r--r--var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py b/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
index 1ddb47a872..bcb410cf7d 100644
--- a/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
+++ b/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
@@ -130,10 +130,10 @@ class IntelOneapiCompilers(IntelOneApiPackage):
"""
super(IntelOneapiCompilers, self).setup_run_environment(env)
- env.set("CC", self.component_prefix.bin.icx)
- env.set("CXX", self.component_prefix.bin.icpx)
- env.set("F77", self.component_prefix.bin.ifx)
- env.set("FC", self.component_prefix.bin.ifx)
+ env.set("CC", self.component_prefix.linux.bin.icx)
+ env.set("CXX", self.component_prefix.linux.bin.icpx)
+ env.set("F77", self.component_prefix.linux.bin.ifx)
+ env.set("FC", self.component_prefix.linux.bin.ifx)
def install(self, spec, prefix):
# Copy instead of install to speed up debugging