SHA256
1
0
forked from pool/llvm15

- Update to version 15.0.5.

* This release contains bug-fixes for the LLVM 15.0.0 release.
    This release is API and ABI compatible with 15.0.0.
- Remove obsolete lldb-swig-4.1.0-build-fix.patch.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=11
This commit is contained in:
Aaron Puchert 2022-11-17 00:32:10 +00:00 committed by Git OBS Bridge
parent 2084b76b6f
commit 59979293cd
30 changed files with 62 additions and 124 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:701f8ff9b9727d12be456256e2811c5452259282c387728e2bcd95da90c5af45
size 18541400

3
clang-15.0.5.src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3737d1d81253bc7608443661ac616bdc06f8833d313f4c3e22ed0eecc55b1238
size 18542872

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d8775bc711c9f0e94e92e0d63286528044cc32981c92ac338940b0c2b4e0157
size 1549624

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d8c4e1c09896f300d8ec36c689e90fe53c896e76ecc9b5138e490d35303e0a8f
size 1549876

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:308ff3f25b11b72b969a0a3d9b93fa32035028d6f2475347b9c9458220ed4d0d
size 3075652

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:211399a64cd78105cf032a6c31d9cec9a4de5148439b577752bab5b353d44669
size 3075532

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9df45bf3a0a46264d5007485592381bbaf50f034b4155290cb0d917539d8facf
size 6972

3
cmake-15.0.5.src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:61a9757f2fb7dd4c992522732531eb58b2bb031a2ca68848ff1cfda1fc07b7b3
size 6976

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f006c899b6d7ed54f94316a1a139bf88fd1c62c21de3e567dcc512684b46cea4
size 2349856

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d2a0680da5936f4187485682c28f17c98aabcd5e402d75af9ce78c992adae2ee
size 2351532

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:425160c72644123860dcc5d0e1eef2064cb7c65c19328ab9e0b316dab1fc2af3
size 3334192

3
libcxx-15.0.5.src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d9bfce483dc5d14261659f32f7d46706335fd71184c4342952872a3f4ab9c599
size 3331412

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c462582026c3d6192406483285d17cc35ead4fb6244f40887eb71342824ea913
size 568608

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2030701a3ebcd27413b908d7cc87ede361d6ef6c1d4cece30d5a0a7e2e4862d2
size 568696

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:189963d19c01fa26eff13fe945c501b0f7a8c2cb781a42b3c916531db7c4a2a9
size 1407444

3
lld-15.0.5.src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:55241cb1ccc9cb3a8006373c58a8071990973ebfa67ed9b508a125492f4c005e
size 1407308

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe4268698fd964e9e03e50c6490842fcb0e604cca294ea3be46fa1f3918fb6ea
size 10255288

3
lldb-15.0.5.src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f058ca745df7ed9327801a48ec25e1190a9cbed62f2ad16a325f0667994ae6b0
size 10253768

View File

@ -1,68 +0,0 @@
From 81fc5f7909a4ef5a8d4b5da2a10f77f7cb01ba63 Mon Sep 17 00:00:00 2001
From: serge-sans-paille <sguelton@redhat.com>
Date: Thu, 29 Sep 2022 21:48:38 +0200
Subject: [PATCH] [lldb] Get rid of __STDC_LIMIT_MACROS and
__STDC_CONSTANT_MACROS
C++11 made the use of these macro obsolete, see https://sourceware.org/bugzilla/show_bug.cgi?id=15366
As a side effect this prevents https://github.com/swig/swig/issues/2193.
Differential Revision: https://reviews.llvm.org/D134877
---
lldb/bindings/CMakeLists.txt | 2 --
lldb/bindings/interfaces.swig | 3 ---
2 files changed, 5 deletions(-)
diff --git a/lldb/bindings/CMakeLists.txt b/lldb/bindings/CMakeLists.txt
index c8aa0bcf96817..9eed2f1e62999 100644
--- a/lldb/bindings/CMakeLists.txt
+++ b/lldb/bindings/CMakeLists.txt
@@ -26,8 +26,6 @@ set(SWIG_COMMON_FLAGS
-features autodoc
-I${LLDB_SOURCE_DIR}/include
-I${CMAKE_CURRENT_SOURCE_DIR}
- -D__STDC_LIMIT_MACROS
- -D__STDC_CONSTANT_MACROS
${DARWIN_EXTRAS}
)
diff --git a/lldb/bindings/interfaces.swig b/lldb/bindings/interfaces.swig
index fb75513a0df1b..d984711bbd8a2 100644
--- a/lldb/bindings/interfaces.swig
+++ b/lldb/bindings/interfaces.swig
@@ -1,8 +1,5 @@
/* Various liblldb typedefs that SWIG needs to know about. */
#define __extension__ /* Undefine GCC keyword to make Swig happy when processing glibc's stdint.h. */
-/* The ISO C99 standard specifies that in C++ implementations limit macros such
- as INT32_MAX should only be defined if __STDC_LIMIT_MACROS is. */
-#define __STDC_LIMIT_MACROS
%include "stdint.i"
%include "lldb/lldb-defines.h"
From f0a25fe0b746f56295d5c02116ba28d2f965c175 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik@redhat.com>
Date: Wed, 21 Sep 2022 11:42:46 +0200
Subject: [PATCH] [lldb] Fix 'error: non-const lvalue...' caused by SWIG 4.1.0
Fix the failure caused by change in SwigValueWraper for C++11 and later
for improved move semantics in SWIG commit.
https://github.com/swig/swig/commit/d1055f4b3d51cb8060893f8036846ac743302dab
---
lldb/bindings/python/python-typemaps.swig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lldb/bindings/python/python-typemaps.swig b/lldb/bindings/python/python-typemaps.swig
index 203be803d2ebd..11f68d59ae7be 100644
--- a/lldb/bindings/python/python-typemaps.swig
+++ b/lldb/bindings/python/python-typemaps.swig
@@ -435,7 +435,7 @@ template <> bool SetNumberFromPyObject<double>(double &number, PyObject *obj) {
%typemap(out) lldb::FileSP {
$result = nullptr;
- lldb::FileSP &sp = $1;
+ const lldb::FileSP &sp = $1;
if (sp) {
PythonFile pyfile = unwrapOrSetPythonException(PythonFile::FromFile(*sp));
if (!pyfile.IsValid())

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60aca410cae2b92665c0aa769bcd11ed17030b9ecd76115138c97d94a27a992f
size 52927372

3
llvm-15.0.5.src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4428688b567ab1c9911aa9e13cb44c9bc1b14431713c14de491e10369f2b0370
size 52932364

View File

@ -2,10 +2,10 @@ This has similar effect as simply deleting the static libraries which we don't
want after installation. By not copying them in the first place we reduce the
disk usage during installation.
Index: clang-15.0.4.src/cmake/modules/AddClang.cmake
Index: clang-15.0.5.src/cmake/modules/AddClang.cmake
===================================================================
--- a/clang-15.0.4.src/cmake/modules/AddClang.cmake
+++ b/clang-15.0.4.src/cmake/modules/AddClang.cmake
--- a/clang-15.0.5.src/cmake/modules/AddClang.cmake
+++ b/clang-15.0.5.src/cmake/modules/AddClang.cmake
@@ -106,12 +106,15 @@ macro(add_clang_library name)
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ARG_INSTALL_WITH_TOOLCHAIN)
@ -68,10 +68,10 @@ Index: cmake/modules/AddLLVM.cmake
endif()
if (ARG_MODULE)
set_target_properties(${name} PROPERTIES FOLDER "Loadable modules")
Index: lld-15.0.4.src/cmake/modules/AddLLD.cmake
Index: lld-15.0.5.src/cmake/modules/AddLLD.cmake
===================================================================
--- a/lld-15.0.4.src/cmake/modules/AddLLD.cmake
+++ b/lld-15.0.4.src/cmake/modules/AddLLD.cmake
--- a/lld-15.0.5.src/cmake/modules/AddLLD.cmake
+++ b/lld-15.0.5.src/cmake/modules/AddLLD.cmake
@@ -17,13 +17,6 @@ macro(add_lld_library name)
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
@ -86,10 +86,10 @@ Index: lld-15.0.4.src/cmake/modules/AddLLD.cmake
if (${ARG_SHARED} AND NOT CMAKE_CONFIGURATION_TYPES)
add_llvm_install_targets(install-${name}
DEPENDS ${name}
Index: polly-15.0.4.src/cmake/polly_macros.cmake
Index: polly-15.0.5.src/cmake/polly_macros.cmake
===================================================================
--- a/polly-15.0.4.src/cmake/polly_macros.cmake
+++ b/polly-15.0.4.src/cmake/polly_macros.cmake
--- a/polly-15.0.5.src/cmake/polly_macros.cmake
+++ b/polly-15.0.5.src/cmake/polly_macros.cmake
@@ -42,12 +42,14 @@ macro(add_polly_library name)
llvm_config(${name} ${LLVM_LINK_COMPONENTS})
endif( LLVM_LINK_COMPONENTS )
@ -110,10 +110,10 @@ Index: polly-15.0.4.src/cmake/polly_macros.cmake
endmacro(add_polly_library)
macro(add_polly_loadable_module name)
Index: polly-15.0.4.src/lib/CMakeLists.txt
Index: polly-15.0.5.src/lib/CMakeLists.txt
===================================================================
--- a/polly-15.0.4.src/lib/CMakeLists.txt
+++ b/polly-15.0.4.src/lib/CMakeLists.txt
--- a/polly-15.0.5.src/lib/CMakeLists.txt
+++ b/polly-15.0.5.src/lib/CMakeLists.txt
@@ -74,7 +74,7 @@ set_target_properties(PollyCore PROPERTI
# It depends on all library it needs, such that with
# LLVM_POLLY_LINK_INTO_TOOLS=ON, its dependencies like PollyISL are linked as

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:31256c1b2782f3a8902b92953c46cfa8c59481afa8f232261fc133cd83caad58
size 6838800

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b690b5f0a29c04a3fc961c6920a4abde5130732c592beba5e92cb2f95bb3e3a7
size 6838948

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Nov 16 22:06:27 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 15.0.5.
* This release contains bug-fixes for the LLVM 15.0.0 release.
This release is API and ABI compatible with 15.0.0.
- Remove obsolete lldb-swig-4.1.0-build-fix.patch.
- Rebase llvm-do-not-install-static-libraries.patch.
-------------------------------------------------------------------
Sun Nov 6 19:13:25 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>

View File

@ -16,14 +16,14 @@
#
%define _relver 15.0.4
%define _relver 15.0.5
%define _version %_relver%{?_rc:rc%_rc}
%define _tagver %_relver%{?_rc:-rc%_rc}
%define _minor 15.0
%define _sonum 15
%define _itsme15 1
# Integer version used by update-alternatives
%define _uaver 1504
%define _uaver 1505
%define _soclang 13
%define _socxx 1
@ -386,8 +386,6 @@ Patch35: libcxxabi-fix-armv7-test.patch
Patch36: clang-test-xfail-gnuless-triple.patch
# Fix lowering of "icmp uge <4 x i32> zeroinitializer, ..." on armv7. (https://reviews.llvm.org/D136447?id=469567, boo#1204267, gh#llvm/llvm-project#58514)
Patch37: llvm-armv7-fix-vector-compare-with-zero-lowering.patch
# Fix build with Swig 4.1.0: backport of upstream commits 81fc5f7909a4, f0a25fe0b746. (gh#llvm/llvm-project#58018)
Patch38: lldb-swig-4.1.0-build-fix.patch
BuildRequires: binutils-devel >= 2.21.90
BuildRequires: cmake >= 3.13.4
BuildRequires: fdupes
@ -848,7 +846,6 @@ popd
%if %{with lldb}
pushd lldb-%{_version}.src
%patch11 -p1
%patch38 -p2
popd
%endif

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1b6f92013e7555759127d84264c3e98eab116a3a5138570058d8507e1513f76e
size 1184532

3
openmp-15.0.5.src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fd1f4ca2d1b78c1b42bd74c9ae32b3bedd77242e8fb5dc774ace4a43726d1615
size 1184516

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:52e6436099b7470199a671d06f9ecac3eac7ace33d7df90a55799aaa4aa1ba6c
size 9357036

3
polly-15.0.5.src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a0eaf4ca5cf3935756c97e8d5d4eb11249aecbe6bd1b4f9fd6ef78f579732839
size 9361052