41965577f2
Resolves: RHEL-64926 Signed-off-by: Viktor Malik <vmalik@redhat.com>
27 lines
785 B
Diff
27 lines
785 B
Diff
From 6531fcc5da47ec8c161b08587f69eb90bffa53b8 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Fri, 16 Feb 2024 10:14:41 -0800
|
|
Subject: [PATCH] cmake: Bump max LLVM version to 19
|
|
|
|
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 2e1a32bd..3f095dba 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -149,7 +149,7 @@ else()
|
|
endif()
|
|
|
|
set(MIN_LLVM_MAJOR 6)
|
|
-set(MAX_LLVM_MAJOR 18)
|
|
+set(MAX_LLVM_MAJOR 19)
|
|
|
|
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.47.0
|
|
|