Accepting request 1161128 from devel:tools:compiler

- Update to version 18.1.2.
  * This release contains bug-fixes for the LLVM 18.1.0 release.
    This release is API and ABI compatible with 18.1.0.
- Rebase patches:
  * llvm-do-not-install-static-libraries.patch
  * llvm-normally-versioned-libllvm.patch
- Prefer ld.bfd for now to get THP-compatible section layout.

OBS-URL: https://build.opensuse.org/request/show/1161128
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm18?expand=0&rev=2
This commit is contained in:
Ana Guerrero 2024-03-25 20:06:08 +00:00 committed by Git OBS Bridge
commit d0da0cc792
60 changed files with 80 additions and 69 deletions

View File

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

Binary file not shown.

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

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

BIN
clang-18.1.2.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:92b1a0148cab07fc708ae2432f4c6483bdd76c597c0fd6e4b40641598de69b31
size 1764064

View File

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

View File

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

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
cmake-18.1.2.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:037b1fbbc6ea90c9ef299caab8a751b435ca6ede2d1972db15b30646636ee057
size 2468548

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
lld-18.1.2.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:c9a5aa188c9632753dc5a148896ae4d9a19dde356e5569f183de3e2e3d04cdea
size 10599612

Binary file not shown.

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

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

BIN
lldb-18.1.2.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:ab0508d02b2d126ceb98035c28638a9d7b1e7fa5ef719396236e72f59a02e1ac
size 61972792

Binary file not shown.

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

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

BIN
llvm-18.1.2.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-18.1.1.src/cmake/modules/AddClang.cmake
Index: clang-18.1.2.src/cmake/modules/AddClang.cmake
===================================================================
--- a/clang-18.1.1.src/cmake/modules/AddClang.cmake
+++ b/clang-18.1.1.src/cmake/modules/AddClang.cmake
--- a/clang-18.1.2.src/cmake/modules/AddClang.cmake
+++ b/clang-18.1.2.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-18.1.1.src/cmake/modules/AddLLD.cmake
Index: lld-18.1.2.src/cmake/modules/AddLLD.cmake
===================================================================
--- a/lld-18.1.1.src/cmake/modules/AddLLD.cmake
+++ b/lld-18.1.1.src/cmake/modules/AddLLD.cmake
--- a/lld-18.1.2.src/cmake/modules/AddLLD.cmake
+++ b/lld-18.1.2.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-18.1.1.src/cmake/modules/AddLLD.cmake
if (${ARG_SHARED} AND NOT CMAKE_CONFIGURATION_TYPES)
add_llvm_install_targets(install-${name}
DEPENDS ${name}
Index: polly-18.1.1.src/cmake/polly_macros.cmake
Index: polly-18.1.2.src/cmake/polly_macros.cmake
===================================================================
--- a/polly-18.1.1.src/cmake/polly_macros.cmake
+++ b/polly-18.1.1.src/cmake/polly_macros.cmake
--- a/polly-18.1.2.src/cmake/polly_macros.cmake
+++ b/polly-18.1.2.src/cmake/polly_macros.cmake
@@ -42,15 +42,17 @@ macro(add_polly_library name)
llvm_config(${name} ${LLVM_LINK_COMPONENTS})
endif( LLVM_LINK_COMPONENTS )
@ -116,10 +116,10 @@ Index: polly-18.1.1.src/cmake/polly_macros.cmake
endmacro(add_polly_library)
macro(add_polly_loadable_module name)
Index: polly-18.1.1.src/lib/CMakeLists.txt
Index: polly-18.1.2.src/lib/CMakeLists.txt
===================================================================
--- a/polly-18.1.1.src/lib/CMakeLists.txt
+++ b/polly-18.1.1.src/lib/CMakeLists.txt
--- a/polly-18.1.2.src/lib/CMakeLists.txt
+++ b/polly-18.1.2.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:ad5e87ed1d6ac903be71812073088f024f30596fb7fc5c4b6ebc5d22ce237f64
size 7271944

View File

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

View File

@ -51,17 +51,16 @@ Index: llvm-8.0.0rc3.src/tools/llvm-config/llvm-config.cpp
// If LLVM_LINK_DYLIB is ON, the single shared library will be returned
// for "--libs", etc, if they exist. This behaviour can be overridden with
Index: llvm-18.1.0rc4.src/tools/llvm-shlib/CMakeLists.txt
Index: llvm-18.1.2.src/tools/llvm-shlib/CMakeLists.txt
===================================================================
--- llvm-18.1.0rc4.src.orig/tools/llvm-shlib/CMakeLists.txt
+++ llvm-18.1.0rc4.src/tools/llvm-shlib/CMakeLists.txt
@@ -34,9 +34,6 @@ if(LLVM_BUILD_LLVM_DYLIB)
set(INSTALL_WITH_TOOLCHAIN INSTALL_WITH_TOOLCHAIN)
--- llvm-18.1.2.src.orig/tools/llvm-shlib/CMakeLists.txt
+++ llvm-18.1.2.src/tools/llvm-shlib/CMakeLists.txt
@@ -37,8 +37,6 @@ if (WIN32)
add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${INSTALL_WITH_TOOLCHAIN} ${SOURCES})
else()
add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB OUTPUT_NAME LLVM ${INSTALL_WITH_TOOLCHAIN} ${SOURCES})
- # Add symlink for backwards compatibility with old library name
- llvm_install_library_symlink(LLVM-${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX} $<TARGET_FILE_NAME:LLVM> SHARED FULL_DEST COMPONENT LLVM)
endif()
add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB OUTPUT_NAME LLVM ${INSTALL_WITH_TOOLCHAIN} ${SOURCES})
- # Add symlink for backwards compatibility with old library name
- get_target_property(LLVM_DYLIB_SOVERSION LLVM SOVERSION)
- llvm_install_library_symlink(LLVM-${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX} LLVM SHARED COMPONENT LLVM SOVERSION ${LLVM_DYLIB_SOVERSION})
list(REMOVE_DUPLICATES LIB_NAMES)
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Mar 23 22:47:43 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 18.1.2.
* This release contains bug-fixes for the LLVM 18.1.0 release.
This release is API and ABI compatible with 18.1.0.
- Rebase patches:
* llvm-do-not-install-static-libraries.patch
* llvm-normally-versioned-libllvm.patch
- Prefer ld.bfd for now to get THP-compatible section layout.
-------------------------------------------------------------------
Sat Mar 9 22:37:29 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>

View File

@ -19,7 +19,7 @@
%global _sonum 18
%global _minor %{_sonum}.1
%global _soname %{_minor}%{?_sosuffix}
%global _patch_level 1
%global _patch_level 2
%global _relver %{_minor}.%{_patch_level}
%global _version %_relver%{?_rc:rc%_rc}
%global _tagver %_relver%{?_rc:-rc%_rc}
@ -41,7 +41,8 @@
%bcond_with openmp
%endif
%ifarch riscv64 s390x
# Prefer ld.bfd for now because it produces a THP-compatible section layout.
%ifnarch %{arm}
%bcond_with use_lld
%else
%bcond_without use_lld

View File

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

Binary file not shown.

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

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
polly-18.1.2.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:20d431ffd9c2ac4f1c39be33061627ec99a1f5e389619bd1428b21e6642b43d2
size 6792

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.