Skip to content

Commit

Permalink
[intel-oneapi-compilers] fix CC/CXX (spack#32677)
Browse files Browse the repository at this point in the history
  • Loading branch information
rscohn2 committed Sep 16, 2022
1 parent 0f26931 commit 9e0755c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9e0755c

Please sign in to comment.