Skip to content

Commit

Permalink
Adjust recipe so it looks for hipcc in the correct path
Browse files Browse the repository at this point in the history
  • Loading branch information
wyphan committed Jun 20, 2023
1 parent 46bba64 commit 0db3df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/papi/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def setup_build_environment(self, env):
if "^cuda" in spec:
env.set("PAPI_CUDA_ROOT", spec["cuda"].prefix)
if "+rocm" in spec:
env.set("PAPI_ROCM_ROOT", spec["hsa-rocr-dev"].prefix)
env.set("PAPI_ROCM_ROOT", spec["hip"].prefix)
env.append_flags("CFLAGS", "-I%s/rocprofiler/include" % spec["rocprofiler-dev"].prefix)
env.set(
"ROCP_METRICS", "%s/rocprofiler/lib/metrics.xml" % spec["rocprofiler-dev"].prefix
Expand Down

0 comments on commit 0db3df4

Please sign in to comment.