SHA256
1
0
forked from pool/llvm17

Accepting request 1119122 from devel:tools:compiler

- Update to version 17.0.3.
  * This release contains bug-fixes for the LLVM 17.0.0 release.
    This release is API and ABI compatible with 17.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.
- Disable zstd support for now regardless of whether libzstd-devel
  is installed. (boo#1216121)
- Limit number of LTO threads on 32-bit architectures to prevent
  out-of-memory during linking.

OBS-URL: https://build.opensuse.org/request/show/1119122
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm17?expand=0&rev=3
This commit is contained in:
Ana Guerrero 2023-10-26 15:11:52 +00:00 committed by Git OBS Bridge
commit e1b1c52dad
59 changed files with 80 additions and 61 deletions

View File

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

Binary file not shown.

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

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

BIN
clang-17.0.3.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:371c634518c29f86496047fe7bac69232abc7401066e61716e1f515a913318a2
size 1614776

View File

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

View File

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

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
cmake-17.0.3.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:8053f53d3205f9758b03784c5d0cf8235ffe2f3fb7a946aea9c6aa5ff9b8d1a1
size 2420612

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
lld-17.0.3.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:26360392a20b8b39f8a654352a66bdc491af9d7c6dde0ffa3d223116fb22e3d2
size 10493572

Binary file not shown.

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

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

BIN
lldb-17.0.3.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:61dd9eaa1f874a10a51dc397b84998eaebdd3c55a5a5fa6c24b2081a435b47c6
size 59292048

Binary file not shown.

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

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

BIN
llvm-17.0.3.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-17.0.2.src/cmake/modules/AddClang.cmake
Index: clang-17.0.3.src/cmake/modules/AddClang.cmake
===================================================================
--- a/clang-17.0.2.src/cmake/modules/AddClang.cmake
+++ b/clang-17.0.2.src/cmake/modules/AddClang.cmake
--- a/clang-17.0.3.src/cmake/modules/AddClang.cmake
+++ b/clang-17.0.3.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-17.0.2.src/cmake/modules/AddLLD.cmake
Index: lld-17.0.3.src/cmake/modules/AddLLD.cmake
===================================================================
--- a/lld-17.0.2.src/cmake/modules/AddLLD.cmake
+++ b/lld-17.0.2.src/cmake/modules/AddLLD.cmake
--- a/lld-17.0.3.src/cmake/modules/AddLLD.cmake
+++ b/lld-17.0.3.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-17.0.2.src/cmake/modules/AddLLD.cmake
if (${ARG_SHARED} AND NOT CMAKE_CONFIGURATION_TYPES)
add_llvm_install_targets(install-${name}
DEPENDS ${name}
Index: polly-17.0.2.src/cmake/polly_macros.cmake
Index: polly-17.0.3.src/cmake/polly_macros.cmake
===================================================================
--- a/polly-17.0.2.src/cmake/polly_macros.cmake
+++ b/polly-17.0.2.src/cmake/polly_macros.cmake
--- a/polly-17.0.3.src/cmake/polly_macros.cmake
+++ b/polly-17.0.3.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-17.0.2.src/cmake/polly_macros.cmake
endmacro(add_polly_library)
macro(add_polly_loadable_module name)
Index: polly-17.0.2.src/lib/CMakeLists.txt
Index: polly-17.0.3.src/lib/CMakeLists.txt
===================================================================
--- a/polly-17.0.2.src/lib/CMakeLists.txt
+++ b/polly-17.0.2.src/lib/CMakeLists.txt
--- a/polly-17.0.3.src/lib/CMakeLists.txt
+++ b/polly-17.0.3.src/lib/CMakeLists.txt
@@ -109,7 +109,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:1135904f0b8cae0363cb368798a2ee9d7f8f1e312a7423d93540cd15739c7d49
size 7138544

View File

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Oct 19 21:04:06 UTC 2023 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 17.0.3.
* This release contains bug-fixes for the LLVM 17.0.0 release.
This release is API and ABI compatible with 17.0.0.
- Rebase llvm-do-not-install-static-libraries.patch.
- Disable zstd support for now regardless of whether libzstd-devel
is installed. (boo#1216121)
- Limit number of LTO threads on 32-bit architectures to prevent
out-of-memory during linking.
-------------------------------------------------------------------
Sat Oct 7 14:19:01 UTC 2023 - Aaron Puchert <aaronpuchert@alice-dsl.net>

View File

@ -16,7 +16,7 @@
#
%global _relver 17.0.2
%global _relver 17.0.3
%global _version %_relver%{?_rc:rc%_rc}
%global _tagver %_relver%{?_rc:-rc%_rc}
%global _sonum 17
@ -24,7 +24,7 @@
%global _soname %{_sonum}%{?_sosuffix}
%global _itsme17 1
# Integer version used by update-alternatives
%global _uaver 1702
%global _uaver 1703
%global _soclang 13
%global _socxx 1
@ -976,6 +976,7 @@ avail_mem=$(awk '/MemAvailable/ { print $2 }' /proc/meminfo)
-DLLVM_BUILD_UTILS:BOOL=OFF \
-DLLVM_BUILD_EXAMPLES:BOOL=OFF \
-DLLVM_BUILD_RUNTIME:BOOL=OFF \
-DLLVM_ENABLE_ZSTD:BOOL=OFF \
-DLLVM_TOOL_CLANG_TOOLS_EXTRA_BUILD:BOOL=OFF \
-DLLVM_INCLUDE_BENCHMARKS:BOOL=OFF \
-DLLVM_INCLUDE_TESTS:BOOL=OFF \
@ -1019,7 +1020,7 @@ CXXFLAGS=$flags
# Clang uses a bit less memory.
mem_per_compile_job=700000
%ifarch i586 ppc armv6hl armv7hl
%ifarch %{arm} i586 ppc
# 32-bit arches need less memory than 64-bit arches.
mem_per_compile_job=500000
%endif
@ -1033,8 +1034,13 @@ max_link_jobs=1
%define __builddir build
%if %{with thin_lto} && %{with use_lld}
%global lld_ldflag --ld-path=%{sourcedir}/stage1/bin/ld.lld
%ifarch %{arm} i586 ppc
%if %{jobs} > 8
%global lto_limit_threads -Wl,--thinlto-jobs=8
%endif
%define build_ldflags -Wl,--build-id=sha1 %{?lld_ldflag}
%endif
%endif
%define build_ldflags -Wl,--build-id=sha1 %{?lld_ldflag} %{?lto_limit_threads}
# The build occasionally uses tools linking against previously built
# libraries (mostly libLLVM.so), but we don't want to set RUNPATHs.
export LD_LIBRARY_PATH=%{sourcedir}/build/%{_lib}
@ -1063,6 +1069,7 @@ export LD_LIBRARY_PATH=%{sourcedir}/build/%{_lib}
-DLLVM_ENABLE_RTTI:BOOL=ON \
-DLLVM_ENABLE_PIC=ON \
-DLLVM_BINUTILS_INCDIR=%{_includedir} \
-DLLVM_ENABLE_ZSTD:BOOL=OFF \
-DLLVM_TARGETS_TO_BUILD=%{llvm_targets} \
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=%{llvm_experimental_targets} \
-DLLVM_TOOL_LLVM_EXEGESIS_BUILD:BOOL=OFF \

View File

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

Binary file not shown.

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

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
polly-17.0.3.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:19e4f9b89b0bd238ab066b06062ff029c529ebe5342848a8f652f832135f368b
size 6244

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.