UCX: Add patch to set HIP_PLATFORM_AMD (#43403)
This commit is contained in:
parent
d390ee1902
commit
3bdebeba3c
@ -160,6 +160,9 @@ def patch(self):
|
||||
"-L$with_rocm/hip/lib -L$with_rocm/lib", "$ROCM_LDFLAGS", "configure", string=True
|
||||
)
|
||||
|
||||
if self.spec.satisfies("^hip@6:"):
|
||||
filter_file("HIP_PLATFORM_HCC", "HIP_PLATFORM_AMD", "configure", string=True)
|
||||
|
||||
@when("@1.9-dev")
|
||||
def autoreconf(self, spec, prefix):
|
||||
Executable("./autogen.sh")()
|
||||
|
Loading…
Reference in New Issue
Block a user