Accepting request 1090772 from devel:tools:compiler

- Update to version 16.0.5.
  * This release contains bug-fixes for the LLVM 16.0.0 release.
    This release is API and ABI compatible with 16.0.0.
- Rebase patches:
  * llvm-do-not-install-static-libraries.patch
  * llvm-remove-clang-only-flags.patch
- Enable ThinLTO on riscv64.

OBS-URL: https://build.opensuse.org/request/show/1090772
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm16?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2023-06-06 17:54:56 +00:00 committed by Git OBS Bridge
commit 4571dbdcc0
56 changed files with 75 additions and 64 deletions

View File

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

Binary file not shown.

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

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

BIN
clang-16.0.5.src.tar.xz.sig Normal file

Binary file not shown.

View File

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

View File

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

View File

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

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
cmake-16.0.5.src.tar.xz.sig Normal file

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
lld-16.0.5.src.tar.xz.sig Normal file

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
lldb-16.0.5.src.tar.xz.sig Normal file

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
llvm-16.0.5.src.tar.xz.sig Normal file

Binary file not shown.

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-16.0.4.src/cmake/modules/AddClang.cmake
Index: clang-16.0.5.src/cmake/modules/AddClang.cmake
===================================================================
--- a/clang-16.0.4.src/cmake/modules/AddClang.cmake
+++ b/clang-16.0.4.src/cmake/modules/AddClang.cmake
--- a/clang-16.0.5.src/cmake/modules/AddClang.cmake
+++ b/clang-16.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-16.0.4.src/cmake/modules/AddLLD.cmake
Index: lld-16.0.5.src/cmake/modules/AddLLD.cmake
===================================================================
--- a/lld-16.0.4.src/cmake/modules/AddLLD.cmake
+++ b/lld-16.0.4.src/cmake/modules/AddLLD.cmake
--- a/lld-16.0.5.src/cmake/modules/AddLLD.cmake
+++ b/lld-16.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-16.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-16.0.4.src/cmake/polly_macros.cmake
Index: polly-16.0.5.src/cmake/polly_macros.cmake
===================================================================
--- a/polly-16.0.4.src/cmake/polly_macros.cmake
+++ b/polly-16.0.4.src/cmake/polly_macros.cmake
--- a/polly-16.0.5.src/cmake/polly_macros.cmake
+++ b/polly-16.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-16.0.4.src/cmake/polly_macros.cmake
endmacro(add_polly_library)
macro(add_polly_loadable_module name)
Index: polly-16.0.4.src/lib/CMakeLists.txt
Index: polly-16.0.5.src/lib/CMakeLists.txt
===================================================================
--- a/polly-16.0.4.src/lib/CMakeLists.txt
+++ b/polly-16.0.4.src/lib/CMakeLists.txt
--- a/polly-16.0.5.src/lib/CMakeLists.txt
+++ b/polly-16.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:6404372939f35fa340bcdb5018e178e1570c03b6a9ce7ebd7e29136d3c9f8e89
size 7057588

View File

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

View File

@ -1,8 +1,8 @@
Index: llvm-16.0.4.src/cmake/modules/HandleLLVMOptions.cmake
Index: llvm-16.0.5.src/cmake/modules/HandleLLVMOptions.cmake
===================================================================
--- llvm-16.0.4.src.orig/cmake/modules/HandleLLVMOptions.cmake
+++ llvm-16.0.4.src/cmake/modules/HandleLLVMOptions.cmake
@@ -577,8 +577,6 @@ if( MSVC )
--- llvm-16.0.5.src.orig/cmake/modules/HandleLLVMOptions.cmake
+++ llvm-16.0.5.src/cmake/modules/HandleLLVMOptions.cmake
@@ -578,8 +578,6 @@ if( MSVC )
# Specific default warnings-as-errors for compilers accepting GCC-compatible warning flags:
if ( LLVM_COMPILER_IS_GCC_COMPATIBLE OR CMAKE_CXX_COMPILER_ID MATCHES "XL" )
@ -10,8 +10,8 @@ Index: llvm-16.0.4.src/cmake/modules/HandleLLVMOptions.cmake
- add_flag_if_supported("-Werror=unguarded-availability-new" WERROR_UNGUARDED_AVAILABILITY_NEW)
endif( LLVM_COMPILER_IS_GCC_COMPATIBLE OR CMAKE_CXX_COMPILER_ID MATCHES "XL" )
if ( LLVM_COMPILER_IS_GCC_COMPATIBLE )
@@ -741,7 +739,6 @@ if (LLVM_ENABLE_WARNINGS AND (LLVM_COMPI
# Modules enablement for GCC-compatible compilers:
@@ -731,7 +729,6 @@ if (LLVM_ENABLE_WARNINGS AND (LLVM_COMPI
endif()
add_flag_if_supported("-Wimplicit-fallthrough" IMPLICIT_FALLTHROUGH_FLAG)

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Jun 3 21:56:34 UTC 2023 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 16.0.5.
* This release contains bug-fixes for the LLVM 16.0.0 release.
This release is API and ABI compatible with 16.0.0.
- Rebase patches:
* llvm-do-not-install-static-libraries.patch
* llvm-remove-clang-only-flags.patch
- Enable ThinLTO on riscv64.
-------------------------------------------------------------------
Wed May 17 21:27:46 UTC 2023 - Aaron Puchert <aaronpuchert@alice-dsl.net>

View File

@ -16,14 +16,14 @@
#
%define _relver 16.0.4
%define _relver 16.0.5
%define _version %_relver%{?_rc:rc%_rc}
%define _tagver %_relver%{?_rc:-rc%_rc}
%define _minor 16.0
%define _sonum 16
%define _itsme16 1
# Integer version used by update-alternatives
%define _uaver 1604
%define _uaver 1605
%define _soclang 13
%define _socxx 1
@ -39,7 +39,7 @@
%bcond_with openmp
%endif
%ifarch s390x
%ifarch riscv64 s390x
%bcond_with use_lld
%else
%bcond_without use_lld
@ -53,7 +53,7 @@
%bcond_with lldb_python
%endif
%ifarch %{arm} aarch64 %{ix86} ppc64le s390x x86_64
%ifarch %{arm} aarch64 %{ix86} ppc64le riscv64 s390x x86_64
%bcond_without thin_lto
%else
%bcond_with thin_lto

View File

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

Binary file not shown.

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

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
polly-16.0.5.src.tar.xz.sig Normal file

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.