- Update to version 18.1.1.

- Remove llvm-Remove-RC-suffix.patch that landed upstream.
- Fix generation of ld update-alternatives symlink.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=2
This commit is contained in:
Aaron Puchert 2024-03-10 01:18:49 +00:00 committed by Git OBS Bridge
parent 8a40ab05bb
commit 2a443a1721
60 changed files with 61 additions and 91 deletions

View File

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

Binary file not shown.

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

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

BIN
clang-18.1.1.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:a4c124b4b53907f78f1206678cd6e62475a941ff369cc415928a6c2449e8f695
size 1763992

View File

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

View File

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

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
cmake-18.1.1.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:ec6dee01247e341d4b15ec84763b8304410e79c2a1452a09286a9eab2badfdeb
size 2468488

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
lld-18.1.1.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:d37f9b2542053203bbf028f1c6d6417bd5e20fe4bcd16a48db1feb1d29c0701b
size 10599436

Binary file not shown.

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

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

BIN
lldb-18.1.1.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:b83af9ed31e69852bb5f835b597f8e769a0707aea89a3097d4fc8e71e43f2a1a
size 61978744

Binary file not shown.

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

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

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

Binary file not shown.

View File

@ -1,25 +0,0 @@
From 01f8ba70ac1c82590b63162ad6e410e787a871b0 Mon Sep 17 00:00:00 2001
From: Tobias Hieta <tobias@hieta.se>
Date: Tue, 19 Sep 2023 09:44:33 +0200
Subject: [PATCH] Remove RC suffix
---
llvm/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index 3a591b112f55..6c1c6600771d 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -18,7 +18,7 @@ if(NOT DEFINED LLVM_VERSION_PATCH)
set(LLVM_VERSION_PATCH 0)
endif()
if(NOT DEFINED LLVM_VERSION_SUFFIX)
- set(LLVM_VERSION_SUFFIX rc)
+ set(LLVM_VERSION_SUFFIX)
endif()
if (NOT PACKAGE_VERSION)
--
2.44.0

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 want after installation. By not copying them in the first place we reduce the
disk usage during installation. disk usage during installation.
Index: clang-18.1.0.src/cmake/modules/AddClang.cmake Index: clang-18.1.1.src/cmake/modules/AddClang.cmake
=================================================================== ===================================================================
--- a/clang-18.1.0.src/cmake/modules/AddClang.cmake --- a/clang-18.1.1.src/cmake/modules/AddClang.cmake
+++ b/clang-18.1.0.src/cmake/modules/AddClang.cmake +++ b/clang-18.1.1.src/cmake/modules/AddClang.cmake
@@ -106,12 +106,15 @@ macro(add_clang_library name) @@ -106,12 +106,15 @@ macro(add_clang_library name)
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ARG_INSTALL_WITH_TOOLCHAIN) if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ARG_INSTALL_WITH_TOOLCHAIN)
@ -68,10 +68,10 @@ Index: cmake/modules/AddLLVM.cmake
endif() endif()
if (ARG_MODULE) if (ARG_MODULE)
set_target_properties(${name} PROPERTIES FOLDER "Loadable modules") set_target_properties(${name} PROPERTIES FOLDER "Loadable modules")
Index: lld-18.1.0.src/cmake/modules/AddLLD.cmake Index: lld-18.1.1.src/cmake/modules/AddLLD.cmake
=================================================================== ===================================================================
--- a/lld-18.1.0.src/cmake/modules/AddLLD.cmake --- a/lld-18.1.1.src/cmake/modules/AddLLD.cmake
+++ b/lld-18.1.0.src/cmake/modules/AddLLD.cmake +++ b/lld-18.1.1.src/cmake/modules/AddLLD.cmake
@@ -17,13 +17,6 @@ macro(add_lld_library name) @@ -17,13 +17,6 @@ macro(add_lld_library name)
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
@ -86,10 +86,10 @@ Index: lld-18.1.0.src/cmake/modules/AddLLD.cmake
if (${ARG_SHARED} AND NOT CMAKE_CONFIGURATION_TYPES) if (${ARG_SHARED} AND NOT CMAKE_CONFIGURATION_TYPES)
add_llvm_install_targets(install-${name} add_llvm_install_targets(install-${name}
DEPENDS ${name} DEPENDS ${name}
Index: polly-18.1.0.src/cmake/polly_macros.cmake Index: polly-18.1.1.src/cmake/polly_macros.cmake
=================================================================== ===================================================================
--- a/polly-18.1.0.src/cmake/polly_macros.cmake --- a/polly-18.1.1.src/cmake/polly_macros.cmake
+++ b/polly-18.1.0.src/cmake/polly_macros.cmake +++ b/polly-18.1.1.src/cmake/polly_macros.cmake
@@ -42,15 +42,17 @@ macro(add_polly_library name) @@ -42,15 +42,17 @@ macro(add_polly_library name)
llvm_config(${name} ${LLVM_LINK_COMPONENTS}) llvm_config(${name} ${LLVM_LINK_COMPONENTS})
endif( LLVM_LINK_COMPONENTS ) endif( LLVM_LINK_COMPONENTS )
@ -116,10 +116,10 @@ Index: polly-18.1.0.src/cmake/polly_macros.cmake
endmacro(add_polly_library) endmacro(add_polly_library)
macro(add_polly_loadable_module name) macro(add_polly_loadable_module name)
Index: polly-18.1.0.src/lib/CMakeLists.txt Index: polly-18.1.1.src/lib/CMakeLists.txt
=================================================================== ===================================================================
--- a/polly-18.1.0.src/lib/CMakeLists.txt --- a/polly-18.1.1.src/lib/CMakeLists.txt
+++ b/polly-18.1.0.src/lib/CMakeLists.txt +++ b/polly-18.1.1.src/lib/CMakeLists.txt
@@ -109,7 +109,7 @@ set_target_properties(PollyCore PROPERTI @@ -109,7 +109,7 @@ set_target_properties(PollyCore PROPERTI
# It depends on all library it needs, such that with # It depends on all library it needs, such that with
# LLVM_POLLY_LINK_INTO_TOOLS=ON, its dependencies like PollyISL are linked as # 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:1e8dd38b7cdc2f97b3f7b4e0a74353357ec512224455fca46e1e335d750e4f58
size 7206912

View File

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

View File

@ -1,7 +1,7 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 6 22:05:13 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net> Sat Mar 9 22:37:29 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 18.1.0. - Update to version 18.1.1.
* For details, see the release notes: * For details, see the release notes:
- https://releases.llvm.org/18.1.0/docs/ReleaseNotes.html - https://releases.llvm.org/18.1.0/docs/ReleaseNotes.html
- https://releases.llvm.org/18.1.0/tools/clang/docs/ReleaseNotes.html - https://releases.llvm.org/18.1.0/tools/clang/docs/ReleaseNotes.html
@ -28,8 +28,6 @@ Wed Mar 6 22:05:13 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
* clang-fix-openmp-test-non-x86.patch * clang-fix-openmp-test-non-x86.patch
* clang-fix-openmp-test.patch * clang-fix-openmp-test.patch
* llvm-fix-cov-test-i586.patch * llvm-fix-cov-test-i586.patch
- Add llvm-Remove-RC-suffix.patch to remove the "rc" suffix from
library SO names. Upstream seems to have forgotten that.
- Restructure version macros in specfile for new versioning scheme. - Restructure version macros in specfile for new versioning scheme.
- Fix packaging of ld.lld as ld alternative. - Fix packaging of ld.lld as ld alternative.

View File

@ -19,7 +19,7 @@
%global _sonum 18 %global _sonum 18
%global _minor %{_sonum}.1 %global _minor %{_sonum}.1
%global _soname %{_minor}%{?_sosuffix} %global _soname %{_minor}%{?_sosuffix}
%global _patch_level 0 %global _patch_level 1
%global _relver %{_minor}.%{_patch_level} %global _relver %{_minor}.%{_patch_level}
%global _version %_relver%{?_rc:rc%_rc} %global _version %_relver%{?_rc:rc%_rc}
%global _tagver %_relver%{?_rc:-rc%_rc} %global _tagver %_relver%{?_rc:-rc%_rc}
@ -423,8 +423,6 @@ Patch28: llvm-fix-cov-test-i586.patch
Patch29: clang-fix-modules-test-riscv.patch Patch29: clang-fix-modules-test-riscv.patch
# PATCH-FIX-UPSTREAM: Test using avx512f requires x86 target. # PATCH-FIX-UPSTREAM: Test using avx512f requires x86 target.
Patch30: clang-fix-openmp-test-non-x86.patch Patch30: clang-fix-openmp-test-non-x86.patch
# PATCH-FIX-UPSTREAM: Remove rc suffix, seems this was forgotten.
Patch31: llvm-Remove-RC-suffix.patch
BuildRequires: binutils-devel >= 2.21.90 BuildRequires: binutils-devel >= 2.21.90
BuildRequires: cmake >= 3.13.4 BuildRequires: cmake >= 3.13.4
BuildRequires: fdupes BuildRequires: fdupes
@ -856,7 +854,6 @@ This package contains the development files for Polly.
%patch -P 24 -p1 %patch -P 24 -p1
%patch -P 25 -p2 %patch -P 25 -p2
%patch -P 28 -p2 %patch -P 28 -p2
%patch -P 31 -p2
pushd clang-%{_version}.src pushd clang-%{_version}.src
%patch -P 2 -p1 %patch -P 2 -p1
@ -1293,7 +1290,7 @@ rm %{buildroot}%{_libdir}/libarcher_static.a
mkdir -p %{buildroot}%{_sysconfdir}/alternatives mkdir -p %{buildroot}%{_sysconfdir}/alternatives
# For installing lld as ld alternative. # For installing lld as ld alternative.
ln -s %{_sysconfdir}/alternatives/ld %{_bindir}/ld ln -s %{_sysconfdir}/alternatives/ld %{buildroot}%{_bindir}/ld
# Fix the clang -> clang-X symlink to work with update-alternatives # Fix the clang -> clang-X symlink to work with update-alternatives
mv %{buildroot}%{_bindir}/clang-%{_sonum} %{buildroot}%{_bindir}/clang mv %{buildroot}%{_bindir}/clang-%{_sonum} %{buildroot}%{_bindir}/clang

View File

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

Binary file not shown.

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

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
polly-18.1.1.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:7fa8b8e859c86f1fcd31d59c75c147865ff88239061c780f84238a0ea1d3010e
size 6780

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.