hip@6.1: fix reference to hsa-rocr-dev so it works when externally defined (#44528)
This commit is contained in:
parent
85f13442d2
commit
f3cf2e94c4
@ -413,7 +413,7 @@ def set_variables(self, env):
|
||||
if self.spec.satisfies("@5.4:"):
|
||||
env.set("HIPIFY_CLANG_PATH", paths["hipify-clang"])
|
||||
if self.spec.satisfies("@6.1:"):
|
||||
env.prepend_path("LD_LIBRARY_PATH", self.spec["hsa-rocr-dev"].prefix.lib)
|
||||
env.prepend_path("LD_LIBRARY_PATH", paths["hsa-rocr-dev"].lib)
|
||||
|
||||
# hipcc recognizes HIP_PLATFORM == hcc and HIP_COMPILER == clang, even
|
||||
# though below we specified HIP_PLATFORM=rocclr and HIP_COMPILER=clang
|
||||
|
Loading…
Reference in New Issue
Block a user