rvs binary path updated for 5.2 rocm release (#32892)
This commit is contained in:
parent
d4f05b0362
commit
52e538e1d9
1 changed files with 5 additions and 1 deletions
|
@ -146,10 +146,14 @@ def setup_build_environment(self, build_env):
|
||||||
depends_on("hip-rocclr@" + ver, when="@" + ver)
|
depends_on("hip-rocclr@" + ver, when="@" + ver)
|
||||||
|
|
||||||
def patch(self):
|
def patch(self):
|
||||||
if "@4.5.0:" in self.spec:
|
if "@4.5.0:5.1" in self.spec:
|
||||||
filter_file(
|
filter_file(
|
||||||
"@ROCM_PATH@/rvs", self.spec.prefix.rvs, "rvs/conf/deviceid.sh.in", string=True
|
"@ROCM_PATH@/rvs", self.spec.prefix.rvs, "rvs/conf/deviceid.sh.in", string=True
|
||||||
)
|
)
|
||||||
|
elif "@5.2.0:" in self.spec:
|
||||||
|
filter_file(
|
||||||
|
"@ROCM_PATH@/bin", self.spec.prefix.bin, "rvs/conf/deviceid.sh.in", string=True
|
||||||
|
)
|
||||||
|
|
||||||
def cmake_args(self):
|
def cmake_args(self):
|
||||||
args = [
|
args = [
|
||||||
|
|
Loading…
Reference in a new issue