summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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