- Update to version 18.1.3.

* Fixes ThreadSanitizer failures for glibc's LoongArch and
    certain RISC-V ports when fstat is used.
  * `transform.structured.convert_to_loops` now properly deletes
    its target op.
  * Fix a `llvm.usub.with.overflow.i128` wrong code generation
    regression that was introduced with LLVM 18.1.0.
  * MemorySanitizer on Linux can now run even when maximum-entropy
    address-space layout randomization is configured globally (as
    is becoming increasingly common). MemorySanitizer can
    automatically re-exec ASLR-off for the process if needed,
    instead of aborting.
  * Fixed a Clang 18.x regression which increased binary size and
    stack usage with `-ftrivial-auto-var-init`.
- Set directories for configuration files: /etc/clang for system-
  wide configuration and ~/.config/clang for users. For details see
  https://clang.llvm.org/docs/UsersManual.html#configuration-files.
- Use old conflicts/provides for python3-clang on Leap.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=9
This commit is contained in:
Aaron Puchert 2024-04-04 14:42:23 +00:00 committed by Git OBS Bridge
parent 342a6531bc
commit fc1c271ced
59 changed files with 87 additions and 58 deletions

View File

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

Binary file not shown.

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

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

BIN
clang-18.1.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:a7ce6128dd6b8d768ce600bb48cb32155e912489afd89b62c83bbea47175ddf3
size 1764256

View File

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

View File

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

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
cmake-18.1.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:81b6a9e0bdcf72bc808ad2e5186cf7c84b21ead015884cce95a284ea9a6dab0c
size 2468612

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
lld-18.1.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:ca8fa0a93a2fe3ae659390c32ff4833abb7cc0636ae9155ffc04c86de6fe6ce1
size 10598724

Binary file not shown.

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

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

BIN
lldb-18.1.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:13ef90fa598a239222ecadd64a63d81e4db59813aa5f255cbb5e9d3e0cf927d0
size 61973516

Binary file not shown.

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

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

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

View File

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

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Thu Apr 4 14:31:53 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 18.1.3.
* Fixes ThreadSanitizer failures for glibc's LoongArch and
certain RISC-V ports when fstat is used.
* `transform.structured.convert_to_loops` now properly deletes
its target op.
* Fix a `llvm.usub.with.overflow.i128` wrong code generation
regression that was introduced with LLVM 18.1.0.
* MemorySanitizer on Linux can now run even when maximum-entropy
address-space layout randomization is configured globally (as
is becoming increasingly common). MemorySanitizer can
automatically re-exec ASLR-off for the process if needed,
instead of aborting.
* Fixed a Clang 18.x regression which increased binary size and
stack usage with `-ftrivial-auto-var-init`.
- Set directories for configuration files: /etc/clang for system-
wide configuration and ~/.config/clang for users. For details see
https://clang.llvm.org/docs/UsersManual.html#configuration-files.
- Use old conflicts/provides for python3-clang on Leap.
-------------------------------------------------------------------
Sat Mar 23 22:47:43 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 2
%global _patch_level 3
%global _relver %{_minor}.%{_patch_level}
%global _version %_relver%{?_rc:rc%_rc}
%global _tagver %_relver%{?_rc:-rc%_rc}
@ -725,8 +725,13 @@ Summary: Python bindings for libclang
Group: Development/Libraries/Python
Requires: libclang%{_soclang} >= %{version}
Requires: python3-base
%if %{suse_version} > 1500
Conflicts: %{python3_sitelib}/clang/
Provides: %{python3_sitelib}/clang/
%else
Conflicts: %{python3_sitearch}/clang/
Provides: %{python3_sitearch}/clang/
%endif
BuildArch: noarch
%description -n python3-clang%{_sonum}
@ -1105,6 +1110,8 @@ export LD_LIBRARY_PATH=%{sourcedir}/build/%{_lib}
-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR:BOOL=OFF \
-DLLVM_INCLUDE_BENCHMARKS:BOOL=OFF \
-DCLANG_FORCE_MATCHING_LIBCLANG_SOVERSION:BOOL=OFF \
-DCLANG_CONFIG_FILE_SYSTEM_DIR="%{_sysconfdir}/clang" \
-DCLANG_CONFIG_FILE_USER_DIR="~/.config/clang" \
-DCOMPILER_RT_USE_LIBCXX:BOOL=OFF \
-DLIBCXX_INCLUDE_BENCHMARKS:BOOL=OFF \
%if %{with libcxx}

View File

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

Binary file not shown.

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

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
polly-18.1.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:75d96c925540821617e46b6afdd4104aa244af73737755bc31c5921d40a69f43
size 6784

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.