summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMikael Simberg <mikael.simberg@iki.fi>2023-07-12 14:39:41 +0200
committerGitHub <noreply@github.com>2023-07-12 14:39:41 +0200
commit62f24f1b2ab9140ad1e9ab4c9942c4b20d0745b7 (patch)
treec6b87eebe4ebfff8d3f6261ff1b4384489be32e4 /var
parent37ef31dc2252eb273778f056809046db50b29316 (diff)
downloadspack-62f24f1b2ab9140ad1e9ab4c9942c4b20d0745b7.tar.gz
spack-62f24f1b2ab9140ad1e9ab4c9942c4b20d0745b7.tar.bz2
spack-62f24f1b2ab9140ad1e9ab4c9942c4b20d0745b7.tar.xz
spack-62f24f1b2ab9140ad1e9ab4c9942c4b20d0745b7.zip
Patch broken CMake handling when no architectures are found in HIP package (#37022)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hip/package.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hip/package.py b/var/spack/repos/builtin/packages/hip/package.py
index 21181f693e..9747193713 100644
--- a/var/spack/repos/builtin/packages/hip/package.py
+++ b/var/spack/repos/builtin/packages/hip/package.py
@@ -326,6 +326,13 @@ class Hip(CMakePackage):
patch("Add_missing_open_cl_header_file_for_4.3.0.patch", when="@4.3.0:4.3.2")
patch("0014-hip-test-file-reorg-5.4.0.patch", when="@5.4.0:")
+ # See https://github.com/ROCm-Developer-Tools/HIP/pull/3206
+ patch(
+ "https://github.com/ROCm-Developer-Tools/HIP/commit/50ee82f6bc4aad10908ce09198c9f7ebfb2a3561.patch?full_index=1",
+ sha256="c2ee21cdc55262c7c6ba65546b5ca5f65ea89730",
+ when="@5.2:5.4",
+ )
+
@property
def root_cmakelists_dir(self):
if self.spec.satisfies("@:4.3.2"):