summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/llvm/package.py3
1 files changed, 2 insertions, 1 deletions
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:")