Jiri Slaby 2022-09-06 09:27:02 +00:00 committed by Git OBS Bridge
parent ae2998614f
commit 245af7d5da
3 changed files with 34 additions and 3 deletions

View File

@ -0,0 +1,29 @@
From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zaoral?= <lzaoral@redhat.com>
Date: Sat, 5 Mar 2022 13:44:24 +0100
Subject: llvm14: Add LLVM 14 to lit.cfg
Git-repo: https://github.com/lzaoral/klee#llvm14
Git-commit: 87b74ea337994d2a564bd583004ef4ae3d0bd2ce
Patch-mainline: no
References: llvm 14
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
test/lit.cfg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/lit.cfg b/test/lit.cfg
index 4d7382cf..c935ab8e 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -161,7 +161,7 @@ config.substitutions.append(
# Add feature for the LLVM version in use, so it can be tested in REQUIRES and
# XFAIL checks. We also add "not-XXX" variants, for the same reason.
-known_llvm_versions = { "9.0", "10.0", "11.0", "11.1", "12.0", "13.0" }
+known_llvm_versions = { "9.0", "10.0", "11.0", "11.1", "12.0", "13.0", "14.0" }
current_llvm_version_tuple = (int(config.llvm_version_major), int(config.llvm_version_minor))
current_llvm_version = "%s.%s" % current_llvm_version_tuple
--
2.35.3

View File

@ -2,6 +2,7 @@
Tue Sep 6 09:21:23 UTC 2022 - Jiri Slaby <jslaby@suse.cz>
- add llvm 14 support
* 0001-llvm14-Add-LLVM-14-to-lit.cfg.patch
* 0001-Module-InstructionOperandTypeCheckPass-Fix-Wbitwise-.patch
* 0002-llvm14-TargetRegistry.h-was-moved-from-Support-to-MC.patch
* 0003-llvm14-PointerType-getElementType-was-deprecated.patch

View File

@ -39,9 +39,10 @@ Source1: %{name}-rpmlintrc
Source2: https://raw.githubusercontent.com/llvm/llvm-project/llvmorg-%{llvm_version_major}.0.0/llvm/utils/not/not.cpp
Source3: https://raw.githubusercontent.com/llvm/llvm-project/llvmorg-%{llvm_version_major}.0.0/llvm/utils/FileCheck/FileCheck.cpp
Patch0: 0001-test-disable-until-it-is-fixed.patch
Patch1: 0001-Module-InstructionOperandTypeCheckPass-Fix-Wbitwise-.patch
Patch2: 0002-llvm14-TargetRegistry.h-was-moved-from-Support-to-MC.patch
Patch3: 0003-llvm14-PointerType-getElementType-was-deprecated.patch
Patch1: 0001-llvm14-Add-LLVM-14-to-lit.cfg.patch
Patch2: 0001-Module-InstructionOperandTypeCheckPass-Fix-Wbitwise-.patch
Patch3: 0002-llvm14-TargetRegistry.h-was-moved-from-Support-to-MC.patch
Patch4: 0003-llvm14-PointerType-getElementType-was-deprecated.patch
BuildRequires: clang%{llvm_version}
BuildRequires: cmake
BuildRequires: gperftools-devel