hip: fix hip-tests error (#49563)
This commit is contained in:
parent
2c8afc5443
commit
e15a3b0717
@ -343,7 +343,7 @@ class Hip(CMakePackage):
|
||||
patch("0014-remove-compiler-rt-linkage-for-host.6.0.patch", when="@6.0")
|
||||
patch("0014-remove-compiler-rt-linkage-for-host.6.1.patch", when="@6.1")
|
||||
patch("0015-reverting-operator-mixup-fix-for-slate.patch", when="@5.6:6.0")
|
||||
patch("0018-reverting-hipMemoryType-with-memoryType.patch", when="@6.0:")
|
||||
patch("0018-reverting-hipMemoryType-with-memoryType.patch", when="@6.0:6.2")
|
||||
|
||||
# See https://github.com/ROCm/HIP/pull/3206
|
||||
patch(
|
||||
@ -563,6 +563,13 @@ def patch(self):
|
||||
"clr/hipamd/hip-config-amd.cmake",
|
||||
string=True,
|
||||
)
|
||||
if self.spec.satisfies("@6.3: +rocm"):
|
||||
filter_file(
|
||||
'"${ROCM_PATH}/llvm"',
|
||||
self.spec["llvm-amdgpu"].prefix,
|
||||
"clr/hipamd/hip-config-amd.cmake.in",
|
||||
string=True,
|
||||
)
|
||||
perl = self.spec["perl"].command
|
||||
|
||||
if self.spec.satisfies("@:5.5"):
|
||||
|
Loading…
Reference in New Issue
Block a user