Skip to content

Commit

Permalink
tau: fix lib/include paths with oneapi (#44170)
Browse files Browse the repository at this point in the history
  • Loading branch information
wspear committed May 17, 2024
1 parent 2a16d8b commit ddfed65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions var/spack/repos/builtin/packages/tau/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ def install(self, spec, prefix):
env["F77"] = spec["mpi"].mpif77
env["FC"] = spec["mpi"].mpifc
if spec["mpi"].name == "intel-oneapi-mpi":
options.append("-mpiinc=%s" % spec["mpi"].package.component_prefix)
options.append("-mpilib=%s" % spec["mpi"].package.component_prefix)
options.append("-mpiinc=%s/include" % spec["mpi"].package.component_prefix)
options.append("-mpilib=%s/lib" % spec["mpi"].package.component_prefix)
else:
options.append("-mpiinc=%s" % spec["mpi"].prefix.include)
options.append("-mpilib=%s" % spec["mpi"].prefix.lib)
Expand Down

0 comments on commit ddfed65

Please sign in to comment.