summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAndrew W Elble <aweits@rit.edu>2024-10-10 22:47:40 -0400
committerGitHub <noreply@github.com>2024-10-11 04:47:40 +0200
commit41773383ec0da15c3087fbe71f58ba21a5c12e46 (patch)
tree99f43a635db98354142c478278a5fe2530bd72e1 /var
parent9855fbf7f12656b380886f5e09b0ebed56b02425 (diff)
downloadspack-41773383ec0da15c3087fbe71f58ba21a5c12e46.tar.gz
spack-41773383ec0da15c3087fbe71f58ba21a5c12e46.tar.bz2
spack-41773383ec0da15c3087fbe71f58ba21a5c12e46.tar.xz
spack-41773383ec0da15c3087fbe71f58ba21a5c12e46.zip
llvm-amdgpu: apply patch from https://github.com/llvm/llvm-project/pull/80071 (#46753)
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/llvm-amdgpu/package.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/llvm-amdgpu/package.py b/var/spack/repos/builtin/packages/llvm-amdgpu/package.py
index 8e45d67b2a..ca8b2412db 100644
--- a/var/spack/repos/builtin/packages/llvm-amdgpu/package.py
+++ b/var/spack/repos/builtin/packages/llvm-amdgpu/package.py
@@ -110,6 +110,14 @@ class LlvmAmdgpu(CMakePackage, CompilerPackage):
when="@6.0:",
)
+ # Fix for https://github.com/llvm/llvm-project/issues/78530
+ # Patch from https://github.com/llvm/llvm-project/pull/80071
+ patch(
+ "https://github.com/ROCm/llvm-project/commit/c651b2b0d9d1393fb5191ac3acfe96e5ecc94bbc.patch?full_index=1",
+ sha256="eaf700a5b51d53324a93e5c951bc08b6311ce2053c44c1edfff5119f472d8080",
+ when="@:6.2",
+ )
+
conflicts("^cmake@3.19.0")
# https://github.com/spack/spack/issues/45746