rvs binary path updated for 6.0 (#43359)

This commit is contained in:
renjithravindrankannath
2024-03-27 07:30:30 -07:00
committed by GitHub
parent a4a27fb1e4
commit 4c55c6a268

View File

@@ -96,10 +96,14 @@ def patch(self):
filter_file(
r"@ROCM_PATH@/bin", self.spec.prefix.bin, "rvs/conf/deviceid.sh.in", string=True
)
elif self.spec.satisfies("@5.5:"):
elif self.spec.satisfies("@5.5:5.7"):
filter_file(
r"@ROCM_PATH@/rvs", self.spec.prefix.rvs, "rvs/conf/deviceid.sh.in", string=True
)
elif self.spec.satisfies("@6.0:"):
filter_file(
"@ROCM_PATH@/rvs", self.spec.prefix.bin, "rvs/conf/deviceid.sh.in", string=True
)
def cmake_args(self):
args = [