bde7b370c7
Resolves: rhbz#2192953 Signed-off-by: Viktor Malik <vmalik@redhat.com>
27 lines
808 B
Diff
27 lines
808 B
Diff
From 359a4067c96580cd6d11202ea1ea97a72b4db650 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Fri, 10 Mar 2023 00:08:27 -0800
|
|
Subject: [PATCH 2/2] cmake: Raise max llvm major version to 16
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
---
|
|
CMakeLists.txt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 045e9d97..88867b5b 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -167,7 +167,7 @@ else()
|
|
endif()
|
|
|
|
set(MIN_LLVM_MAJOR 6)
|
|
- set(MAX_LLVM_MAJOR 15)
|
|
+ set(MAX_LLVM_MAJOR 16)
|
|
|
|
if((${LLVM_VERSION_MAJOR} VERSION_LESS ${MIN_LLVM_MAJOR}) OR (${LLVM_VERSION_MAJOR} VERSION_GREATER ${MAX_LLVM_MAJOR}))
|
|
message(SEND_ERROR "Unsupported LLVM version found via ${LLVM_INCLUDE_DIRS}: ${LLVM_VERSION_MAJOR}")
|
|
--
|
|
2.40.1
|
|
|