summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrenjithravindrankannath <94420380+renjithravindrankannath@users.noreply.github.com>2024-03-27 07:30:30 -0700
committerGitHub <noreply@github.com>2024-03-27 07:30:30 -0700
commit4c55c6a26837533881d8cc6541934f667e640809 (patch)
tree5c2b9d0b52de658c414c165c9feda1861464dd31
parenta4a27fb1e41c95f2ca591cc41f0b511fc8ba4d02 (diff)
downloadspack-4c55c6a26837533881d8cc6541934f667e640809.tar.gz
spack-4c55c6a26837533881d8cc6541934f667e640809.tar.bz2
spack-4c55c6a26837533881d8cc6541934f667e640809.tar.xz
spack-4c55c6a26837533881d8cc6541934f667e640809.zip
rvs binary path updated for 6.0 (#43359)
-rw-r--r--var/spack/repos/builtin/packages/rocm-validation-suite/package.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/rocm-validation-suite/package.py b/var/spack/repos/builtin/packages/rocm-validation-suite/package.py
index af95d70c13..37fa8db203 100644
--- a/var/spack/repos/builtin/packages/rocm-validation-suite/package.py
+++ b/var/spack/repos/builtin/packages/rocm-validation-suite/package.py
@@ -96,10 +96,14 @@ class RocmValidationSuite(CMakePackage):
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 = [