UCX: Add patch to set HIP_PLATFORM_AMD (#43403)

This commit is contained in:
afzpatel 2024-03-29 05:41:45 -04:00 committed by GitHub
parent d390ee1902
commit 3bdebeba3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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")()