diff options
author | Afzal Patel <afzal.patel@amd.com> | 2024-09-27 13:03:21 -0700 |
---|---|---|
committer | Bernhard Kaindl <bernhardkaindl7@gmail.com> | 2024-10-01 03:02:10 +0200 |
commit | 7a3525a05311f907a6a98c82f66e69d57f910483 (patch) | |
tree | 95446b99d99e4dc779941fc765450e1cea1627aa /var | |
parent | 394ed4f90d042aab8135312602c3377e67bf37ae (diff) | |
download | spack-7a3525a05311f907a6a98c82f66e69d57f910483.tar.gz spack-7a3525a05311f907a6a98c82f66e69d57f910483.tar.bz2 spack-7a3525a05311f907a6a98c82f66e69d57f910483.tar.xz spack-7a3525a05311f907a6a98c82f66e69d57f910483.zip |
patch clang++ path
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/rocdecode/package.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/rocdecode/package.py b/var/spack/repos/builtin/packages/rocdecode/package.py index 9fe28bbe3c..a5639727ae 100644 --- a/var/spack/repos/builtin/packages/rocdecode/package.py +++ b/var/spack/repos/builtin/packages/rocdecode/package.py @@ -36,6 +36,14 @@ class Rocdecode(CMakePackage): for ver in ["6.1.0", "6.1.1", "6.1.2", "6.2.0"]: depends_on(f"hip@{ver}", when=f"@{ver}") + def patch(self): + filter_file( + r"${ROCM_PATH}/llvm/bin/clang++", + "{0}/bin/clang++".format(self.spec["llvm-amdgpu"].prefix), + "CMakeLists.txt", + string=True, + ) + def cmake_args(self): args = [] if "auto" not in self.spec.variants["amdgpu_target"]: |