Update to LLVM 16.0.6

Resolves: rhbz#2178796
This commit is contained in:
Nikita Popov 2023-06-30 11:18:35 +02:00
parent 92f325d416
commit 5ec595e4e3
3 changed files with 21 additions and 3 deletions

13
D149746.diff Normal file
View File

@ -0,0 +1,13 @@
diff --git a/llvm/utils/lit/lit/llvm/config.py b/llvm/utils/lit/lit/llvm/config.py
--- a/llvm/utils/lit/lit/llvm/config.py
+++ b/llvm/utils/lit/lit/llvm/config.py
@@ -144,6 +144,8 @@
features.add('target-aarch64')
elif re.match(r'^arm.*', target_triple):
features.add('target-arm')
+ if re.match(r'^ppc64le.*-linux', target_triple):
+ features.add('target=powerpc64le-linux')
use_gmalloc = lit_config.params.get('use_gmalloc', None)
if lit.util.pythonize_bool(use_gmalloc):

View File

@ -1,11 +1,11 @@
%global lit_version 16.0.1
%global lit_version 16.0.6
#%%global post_ver 0
%bcond_without check
Name: python-lit
Version: %{lit_version}
Release: 1%{?dist}
Release: 2%{?dist}
BuildArch: noarch
License: NCSA
@ -15,6 +15,8 @@ Source0: %{pypi_source lit %{lit_version}%{?post_ver:.post%{post_ver}}}
# Remove the license file if it gets included in the tarball again.
Source1: https://raw.githubusercontent.com/llvm/llvm-project/llvmorg-%{lit_version}%{?rc_ver:rc%{rc_ver}}/llvm/utils/lit/LICENSE.TXT
Patch0: D149746.diff
# for file check
%if %{with check}
BuildRequires: llvm-test
@ -58,6 +60,9 @@ sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python3_sitelib}/lit/*.p
%{_bindir}/lit
%changelog
* Fri Jun 30 2023 Nikita Popov <npopov@redhat.com> - 16.0.6-2
- Update to LLVM 16.0.6
* Thu Apr 13 2023 Nikita Popov <npopov@redhat.com> - 16.0.1-1
- Update to LLVM 16.0.1

View File

@ -1,2 +1,2 @@
SHA512 (lit-16.0.1.tar.gz) = 6f39a291e4253bf3bea820ceb7e0cc134300e4a119a5eca159cdd60df1fdccb5f212daaa82851c497d324827052a8d6795b446ef768889663be65b46e2d00482
SHA512 (lit-16.0.6.tar.gz) = 994140c36aa8140fc28e41f47f9cb8fff0a9e6caa43ccb19e1d7b93f01a2c77b007bd85bb44ca29c47432abf3151845f2e1c5883b6f410109702bae0f975f773
SHA512 (LICENSE.TXT) = 4a3325224ec2c86de08cf6f9320f1c95a6de061e45b53841df8fcab755d77341c27e0e064e4330d096b413c4fbb5310362b2f6c9b5c60e907bdceb2ff9b956d0