From 9e0755ca3a125f6360ea84223630a05363536101 Mon Sep 17 00:00:00 2001 From: Robert Cohn Date: Fri, 16 Sep 2022 14:16:06 -0400 Subject: [PATCH] [intel-oneapi-compilers] fix CC/CXX (#32677) --- .../builtin/packages/intel-oneapi-compilers/package.py | 8 ++++---- 1 file 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 @@ def setup_run_environment(self, env): """ 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