Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package llvm13 for openSUSE:Factory checked in at 2021-11-12 15:59:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm13 (Old) and /work/SRC/openSUSE:Factory/.llvm13.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm13" Fri Nov 12 15:59:00 2021 rev:2 rq:930567 version:13.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/llvm13/llvm13.changes 2021-10-08 22:04:50.476539695 +0200 +++ /work/SRC/openSUSE:Factory/.llvm13.new.1890/llvm13.changes 2021-11-12 15:59:10.834562592 +0100 @@ -1,0 +2,14 @@ +Tue Nov 2 21:18:57 UTC 2021 - Aaron Puchert <aaronpuch...@alice-dsl.net> + +- Let clang recommend gcc and glibc-devel as we need both for + building executables. No hard requirement because Clang can be + used as a frontend only. (boo#1191587) +- Set minimal CMake version required. + +------------------------------------------------------------------- +Tue Nov 2 13:30:06 UTC 2021 - Martin Li??ka <mli...@suse.cz> + +- Backport llvm-fix-building-with-GCC-12.patch in order to fix building + with GCC 12. + +------------------------------------------------------------------- New: ---- llvm-fix-building-with-GCC-12.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ llvm13.spec ++++++ --- /var/tmp/diff_new_pack.kh8laV/_old 2021-11-12 15:59:12.070563159 +0100 +++ /var/tmp/diff_new_pack.kh8laV/_new 2021-11-12 15:59:12.074563161 +0100 @@ -137,8 +137,9 @@ Patch27: llvm-exegesis-link-dylib.patch # Fix lookup of targets in installed CMake files. (boo#1180748, https://reviews.llvm.org/D96670) Patch33: CMake-Look-up-target-subcomponents-in-LLVM_AVAILABLE_LIBS.patch +Patch34: llvm-fix-building-with-GCC-12.patch BuildRequires: binutils-devel >= 2.21.90 -BuildRequires: cmake +BuildRequires: cmake >= 3.13.4 BuildRequires: fdupes BuildRequires: gcc BuildRequires: gcc-c++ @@ -239,6 +240,8 @@ Requires(postun):update-alternatives Recommends: clang%{_sonum}-doc Recommends: clang-tools +Recommends: gcc +Recommends: glibc-devel Recommends: libstdc++-devel Suggests: libc++-devel @@ -561,6 +564,7 @@ %patch24 -p1 %patch27 -p2 %patch33 -p2 +%patch34 -p2 pushd clang-%{_version}.src %patch2 -p1 ++++++ llvm-fix-building-with-GCC-12.patch ++++++ >From c5029023fb076f72a3e5bf26085642bcd1fa22fb Mon Sep 17 00:00:00 2001 From: Martin Liska <mli...@suse.cz> Date: Tue, 2 Nov 2021 09:34:09 +0100 Subject: [PATCH] Fix building with GCC 12: Fixes: https://bugs.llvm.org/show_bug.cgi?id=52380 Differential Revision: https://reviews.llvm.org/D112990 --- llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp b/llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp index 58415ecc9432..1f5312e5cb14 100644 --- a/llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp +++ b/llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp @@ -2065,7 +2065,7 @@ SILoadStoreOptimizer::collectMergeableInsts( // adjacent to each other in the list, which will make it easier to find // matches. MergeList.sort( - [] (const CombineInfo &A, CombineInfo &B) { + [] (const CombineInfo &A, const CombineInfo &B) { return A.Offset < B.Offset; }); ++I; -- 2.33.1