From 8b75e8166698fef6e909750a626bea64afe4d641 Mon Sep 17 00:00:00 2001 From: "Seth R. Johnson" Date: Fri, 11 Jun 2021 19:07:14 -0400 Subject: llvm: add conflicts for newer gcc (#24281) Closes #24270 --- var/spack/repos/builtin/packages/llvm/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/llvm/package.py b/var/spack/repos/builtin/packages/llvm/package.py index d7adbddd72..b1fa6084a7 100644 --- a/var/spack/repos/builtin/packages/llvm/package.py +++ b/var/spack/repos/builtin/packages/llvm/package.py @@ -187,7 +187,8 @@ class Llvm(CMakePackage, CudaPackage): # Introduced in version 11 as a part of LLVM and not a separate package. conflicts("+flang", when="@:10.999") - # LLVM 4 and 5 does not build with GCC 8 + # Older LLVM do not build with newer GCC + conflicts("%gcc@11:", when="@:10") conflicts("%gcc@8:", when="@:5") conflicts("%gcc@:5.0.999", when="@8:") -- cgit v1.2.3-70-g09d2