[intel-oneapi-compilers] fix CC/CXX (#32677)

This commit is contained in:
Robert Cohn 2022-09-16 14:16:06 -04:00 committed by GitHub
parent 0f26931628
commit 9e0755ca3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,10 +130,10 @@ def setup_run_environment(self, env):
""" """
super(IntelOneapiCompilers, self).setup_run_environment(env) super(IntelOneapiCompilers, self).setup_run_environment(env)
env.set("CC", self.component_prefix.bin.icx) env.set("CC", self.component_prefix.linux.bin.icx)
env.set("CXX", self.component_prefix.bin.icpx) env.set("CXX", self.component_prefix.linux.bin.icpx)
env.set("F77", self.component_prefix.bin.ifx) env.set("F77", self.component_prefix.linux.bin.ifx)
env.set("FC", self.component_prefix.bin.ifx) env.set("FC", self.component_prefix.linux.bin.ifx)
def install(self, spec, prefix): def install(self, spec, prefix):
# Copy instead of install to speed up debugging # Copy instead of install to speed up debugging