From d01606f354719fbe5ed30b8cf9066c38f5305df8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Eric=20M=C3=BCller?= <mueller@kip.uni-heidelberg.de>
Date: Tue, 13 Feb 2024 17:05:26 +0100
Subject: [PATCH] fix(llvm): +visionary has a limited supported version range

---
 packages/llvm/package.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/packages/llvm/package.py b/packages/llvm/package.py
index 333c9f0e..8d42607e 100644
--- a/packages/llvm/package.py
+++ b/packages/llvm/package.py
@@ -396,6 +396,9 @@ class Llvm(CMakePackage, CudaPackage):
             description='Force linking of all files into view, including '
                         'known conflicts (e.g. libgomp).')
 
+    conflicts("@:8", when="+visionary")
+    conflicts("@13:", when="+visionary")
+
     patch('llvm9-0001-Tooling-Fully-qualify-template-parameters-of-nested-.patch', when='@9.0.0:12.0.999 +visionary', level=2)
 
     # 0001-Tooling-Fully-qualify-template-parameters-of-nested-.patch from above
-- 
GitLab