Accepting request 1169036 from devel:tools:compiler

- Update to version 18.1.4.
  * Fixes an issue with Arm64EC code generation where calls to some
    intrinsics implemented in compiler-rt used the wrong name
    mangling, eventually resulting in unresolved symbol errors
    during linking.
  * Fixed an incorrect poison-generating flag preservation in
    `InstSimplify`. It will fix a miscompilation on RISCV, which
    turns the incorrect `or disjoint` into an `add`.
  * Save/restore routines for RV32E/RV64E are added to compiler-rt.
  * Fix regressions introduced in LLVM 18.1.3 in MIPS atomicrmw
    min/max codegen.
- Include module files for libc++ in libc++-devel.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/request/show/1169036
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm18?expand=0&rev=4
This commit is contained in:
Ana Guerrero 2024-04-21 18:24:21 +00:00 committed by Git OBS Bridge
commit 800195152e
59 changed files with 79 additions and 58 deletions

View File

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

Binary file not shown.

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

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

BIN
clang-18.1.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:356613b2a722c1df56cb6865b7021f4f11287393bfecab7de135690dbd09f7f3
size 1764312

View File

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

View File

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

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
cmake-18.1.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:9a7df9300413696b0c4f7ff1e2729cb82aca375f35c05d698c44f26a4edf1c27
size 2469252

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
lld-18.1.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:b7fcc92a3f3edb81842dbc564c917385c72289da49d6482fa61e53a8de8ffa69
size 10598560

Binary file not shown.

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

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

BIN
lldb-18.1.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:fa6db8951f5ef576ac6bad43d5e1ed83962754538c998fbfa0397cd4521abc00
size 61985780

Binary file not shown.

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

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

BIN
llvm-18.1.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-18.1.3.src/cmake/modules/AddClang.cmake
Index: clang-18.1.4.src/cmake/modules/AddClang.cmake
===================================================================
--- a/clang-18.1.3.src/cmake/modules/AddClang.cmake
+++ b/clang-18.1.3.src/cmake/modules/AddClang.cmake
--- a/clang-18.1.4.src/cmake/modules/AddClang.cmake
+++ b/clang-18.1.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-18.1.3.src/cmake/modules/AddLLD.cmake
Index: lld-18.1.4.src/cmake/modules/AddLLD.cmake
===================================================================
--- a/lld-18.1.3.src/cmake/modules/AddLLD.cmake
+++ b/lld-18.1.3.src/cmake/modules/AddLLD.cmake
--- a/lld-18.1.4.src/cmake/modules/AddLLD.cmake
+++ b/lld-18.1.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-18.1.3.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.3.src/cmake/polly_macros.cmake
Index: polly-18.1.4.src/cmake/polly_macros.cmake
===================================================================
--- a/polly-18.1.3.src/cmake/polly_macros.cmake
+++ b/polly-18.1.3.src/cmake/polly_macros.cmake
--- a/polly-18.1.4.src/cmake/polly_macros.cmake
+++ b/polly-18.1.4.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.3.src/cmake/polly_macros.cmake
endmacro(add_polly_library)
macro(add_polly_loadable_module name)
Index: polly-18.1.3.src/lib/CMakeLists.txt
Index: polly-18.1.4.src/lib/CMakeLists.txt
===================================================================
--- a/polly-18.1.3.src/lib/CMakeLists.txt
+++ b/polly-18.1.3.src/lib/CMakeLists.txt
--- a/polly-18.1.4.src/lib/CMakeLists.txt
+++ b/polly-18.1.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:7908437fefd70bd376088d6bcee1f99b8fee0c9230851aa89000c6b31a3f5fec
size 7207592

View File

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

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Thu Apr 18 21:22:11 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 18.1.4.
* Fixes an issue with Arm64EC code generation where calls to some
intrinsics implemented in compiler-rt used the wrong name
mangling, eventually resulting in unresolved symbol errors
during linking.
* Fixed an incorrect poison-generating flag preservation in
`InstSimplify`. It will fix a miscompilation on RISCV, which
turns the incorrect `or disjoint` into an `add`.
* Save/restore routines for RV32E/RV64E are added to compiler-rt.
* Fix regressions introduced in LLVM 18.1.3 in MIPS atomicrmw
min/max codegen.
- Include module files for libc++ in libc++-devel.
- Rebase llvm-do-not-install-static-libraries.patch.
-------------------------------------------------------------------
Thu Apr 4 14:31:53 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 3
%global _patch_level 4
%global _relver %{_minor}.%{_patch_level}
%global _version %_relver%{?_rc:rc%_rc}
%global _tagver %_relver%{?_rc:-rc%_rc}
@ -1117,6 +1117,7 @@ export LD_LIBRARY_PATH=%{sourcedir}/build/%{_lib}
%if %{with libcxx}
-DLIBCXX_ENABLE_SHARED=YES \
-DLIBCXX_ENABLE_STATIC=NO \
-DLIBCXX_INSTALL_MODULES=ON \
-DLIBCXXABI_ENABLE_SHARED=YES \
-DLIBCXXABI_ENABLE_STATIC=NO \
-DLIBCXXABI_USE_LLVM_UNWINDER:BOOL=OFF \
@ -1730,10 +1731,13 @@ fi
%files %{multisource libcxx_devel} libc++-devel
%license CREDITS.TXT LICENSE.TXT
%{_libdir}/libc++.modules.json
%{_libdir}/libc++.so
%{_libdir}/libc++experimental.a
%dir %{_includedir}/c++/
%{_includedir}/c++/v%{_socxx}
%dir %{_datadir}/libc++/
%{_datadir}/libc++/v%{_socxx}
%files %{multisource libcxx_devel} libc++abi-devel
%license CREDITS.TXT LICENSE.TXT

View File

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

Binary file not shown.

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

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
polly-18.1.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:ff98fdb21260e4cb2ae341f188cf0b11dda491d1d2e495730ed614bbd2af824a
size 6792

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.