SHA256
1
0
forked from pool/llvm17

Accepting request 1123592 from devel:tools:compiler

- Update to version 17.0.4.
  * 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.
- Include libomptarget.devicertl.a in libomp*-devel, which is
  required for (GPU) offloading.

OBS-URL: https://build.opensuse.org/request/show/1123592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm17?expand=0&rev=4
This commit is contained in:
Ana Guerrero 2023-11-07 20:25:35 +00:00 committed by Git OBS Bridge
commit 8cc7cce17c
60 changed files with 73 additions and 61 deletions

View File

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

Binary file not shown.

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

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

BIN
clang-17.0.4.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:e85780c7ea14108cc933234ac623a39c4c9fee147f5ea36b4095a4564e9c6030
size 1614856

View File

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

View File

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

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
cmake-17.0.4.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:6a65d8897a872c68d4a22fceb912d4f77021c17a1494e242992660d8eb149aaf
size 2419124

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
lld-17.0.4.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:0c1f4cb9457e33096833b59c57270f90edcd7e387f553b1681ce7f97876ad3e9
size 10492900

Binary file not shown.

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

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

BIN
lldb-17.0.4.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:18fa6b5f172ddf5af9b3aedfdb58ba070fd07fc45e7e589c46c350b3cc066bc1
size 59294480

Binary file not shown.

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

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

BIN
llvm-17.0.4.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.3.src/cmake/modules/AddClang.cmake
Index: clang-17.0.4.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
--- a/clang-17.0.4.src/cmake/modules/AddClang.cmake
+++ b/clang-17.0.4.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.3.src/cmake/modules/AddLLD.cmake
Index: lld-17.0.4.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
--- a/lld-17.0.4.src/cmake/modules/AddLLD.cmake
+++ b/lld-17.0.4.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.3.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.3.src/cmake/polly_macros.cmake
Index: polly-17.0.4.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
--- a/polly-17.0.4.src/cmake/polly_macros.cmake
+++ b/polly-17.0.4.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.3.src/cmake/polly_macros.cmake
endmacro(add_polly_library)
macro(add_polly_loadable_module name)
Index: polly-17.0.3.src/lib/CMakeLists.txt
Index: polly-17.0.4.src/lib/CMakeLists.txt
===================================================================
--- a/polly-17.0.3.src/lib/CMakeLists.txt
+++ b/polly-17.0.3.src/lib/CMakeLists.txt
--- a/polly-17.0.4.src/lib/CMakeLists.txt
+++ b/polly-17.0.4.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:621083661beaa4893c76f6c113c4d0015f432eed112eff5909a226a37476e410
size 7138516

View File

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

View File

@ -14,6 +14,9 @@ addFilter("SUSE_Backports_policy-SLE_conflict")
# Archive seems to be deliberately empty on some architectures.
addFilter("lto-no-text-in-archive .*/lib.*/clang/.*/lib/linux/libclang_rt.asan_static-.*.a")
# LLVM IR archive for OpenMP offloading, deliberately contains no object code.
addFilter("lto-no-text-in-archive .*/lib.*/libomptarget.devicertl.a")
# Different versions of LLVM can produce the same SONAME, so we'll have to use
# non-standard names sometimes. (Leap's rpmlint complains, Tumbleweed's doesn't.)
addFilter("shlib-policy-name-error")

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun Nov 5 20:20:37 UTC 2023 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 17.0.4.
* 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.
- Include libomptarget.devicertl.a in libomp*-devel, which is
required for (GPU) offloading.
-------------------------------------------------------------------
Thu Oct 19 21:04:06 UTC 2023 - Aaron Puchert <aaronpuchert@alice-dsl.net>

View File

@ -16,7 +16,7 @@
#
%global _relver 17.0.3
%global _relver 17.0.4
%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 1703
%global _uaver 1704
%global _soclang 13
%global _socxx 1
@ -1260,8 +1260,6 @@ rm -rf %{buildroot}%{_libdir}/cmake/lld/
rm %{buildroot}%{_libdir}/libgomp.so
rm %{buildroot}%{_libdir}/libiomp*.so
rm %{buildroot}%{_libdir}/libarcher_static.a
# Using -f because this isn't built for all architectures for some reason.
rm -fv %{buildroot}%{_libdir}/libomptarget.devicertl.a
%endif
# Prepare for update-alternatives usage
@ -1679,6 +1677,7 @@ fi
%{_libdir}/libomptarget-amdgpu-*.bc
%{_libdir}/libomptarget-nvptx-*.bc
%ifarch aarch64 ppc64le x86_64
%{_libdir}/libomptarget.devicertl.a
%{_libdir}/libomptarget.rtl.{%{host_cpu},amdgpu,cuda}.so
%{_libdir}/libomptarget.rtl.{%{host_cpu},amdgpu,cuda}.so.%{_soname}
%endif

View File

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

Binary file not shown.

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

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
polly-17.0.4.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:4bb3ab75e2b085b32fb2c9f5412343825598bde015986db6d3774398a539703b
size 6244

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.