- Update to version 19.1.3.

* This release contains bug-fixes for the LLVM 19.1.0 release.
    This release is API and ABI compatible with 19.1.0.
- Rebase patches:
  * llvm-do-not-install-static-libraries.patch
  * llvm-suse-implicit-gnu.patch
- Patch llvm-fix-build-failure-on-ppc64le.patch landed upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm19?expand=0&rev=5
This commit is contained in:
Aaron Puchert 2024-11-02 17:27:07 +00:00 committed by Git OBS Bridge
parent 1be90c960f
commit 19b3c84e47
61 changed files with 76 additions and 99 deletions

View File

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

Binary file not shown.

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

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

BIN
clang-19.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:59e585332c5068d9635f62afc0b797c68e7e7b637c34c39e02787af8624af293
size 2048260

View File

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

View File

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

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
cmake-19.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:90fff9fbec5ef141f7f281d8d108dc52f7ea59a7da234ffb4fe46446f6617e9a
size 2527292

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
lld-19.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:4216a79db97e3d320a0a99716932d0388a41542f86211d3855ccd13a205f5c0a
size 10688680

Binary file not shown.

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

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

BIN
lldb-19.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:99a7b915dd67e02564567f07f1c93c4ab0f4d4119e02d80d450e76ae69cf36bd
size 67806088

Binary file not shown.

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

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

BIN
llvm-19.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-19.1.2.src/cmake/modules/AddClang.cmake
Index: clang-19.1.3.src/cmake/modules/AddClang.cmake
===================================================================
--- a/clang-19.1.2.src/cmake/modules/AddClang.cmake
+++ b/clang-19.1.2.src/cmake/modules/AddClang.cmake
--- a/clang-19.1.3.src/cmake/modules/AddClang.cmake
+++ b/clang-19.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()
get_subproject_title(subproject_title)
Index: lld-19.1.2.src/cmake/modules/AddLLD.cmake
Index: lld-19.1.3.src/cmake/modules/AddLLD.cmake
===================================================================
--- a/lld-19.1.2.src/cmake/modules/AddLLD.cmake
+++ b/lld-19.1.2.src/cmake/modules/AddLLD.cmake
--- a/lld-19.1.3.src/cmake/modules/AddLLD.cmake
+++ b/lld-19.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-19.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-19.1.2.src/cmake/polly_macros.cmake
Index: polly-19.1.3.src/cmake/polly_macros.cmake
===================================================================
--- a/polly-19.1.2.src/cmake/polly_macros.cmake
+++ b/polly-19.1.2.src/cmake/polly_macros.cmake
--- a/polly-19.1.3.src/cmake/polly_macros.cmake
+++ b/polly-19.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-19.1.2.src/cmake/polly_macros.cmake
endmacro(add_polly_library)
macro(add_polly_loadable_module name)
Index: polly-19.1.2.src/lib/CMakeLists.txt
Index: polly-19.1.3.src/lib/CMakeLists.txt
===================================================================
--- a/polly-19.1.2.src/lib/CMakeLists.txt
+++ b/polly-19.1.2.src/lib/CMakeLists.txt
--- a/polly-19.1.3.src/lib/CMakeLists.txt
+++ b/polly-19.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:5c8b939cc1325fbaec13461c4cf590b46ff8a6113e22947fe378e86da19c3513
size 8389864

View File

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

View File

@ -1,31 +0,0 @@
From 40b4fd7a3e81d32b29364a1b15337bcf817659c0 Mon Sep 17 00:00:00 2001
From: Chen Zheng <czhengsz@cn.ibm.com>
Date: Tue, 30 Jul 2024 09:02:07 +0800
Subject: [PATCH] [NFC] fix build failure (#100993)
Fix the build failure caused by
https://github.com/llvm/llvm-project/pull/94944
Fixes https://github.com/llvm/llvm-project/issues/100296
---
llvm/lib/Analysis/ConstantFolding.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/llvm/lib/Analysis/ConstantFolding.cpp b/llvm/lib/Analysis/ConstantFolding.cpp
index 85ee231675d0..084647b1d9d9 100644
--- a/llvm/lib/Analysis/ConstantFolding.cpp
+++ b/llvm/lib/Analysis/ConstantFolding.cpp
@@ -1782,8 +1782,8 @@ Constant *ConstantFoldFP(double (*NativeFP)(double), const APFloat &V,
}
#if defined(HAS_IEE754_FLOAT128) && defined(HAS_LOGF128)
-Constant *ConstantFoldFP128(long double (*NativeFP)(long double),
- const APFloat &V, Type *Ty) {
+Constant *ConstantFoldFP128(float128 (*NativeFP)(float128), const APFloat &V,
+ Type *Ty) {
llvm_fenv_clearexcept();
float128 Result = NativeFP(V.convertToQuad());
if (llvm_fenv_testexcept()) {
--
2.46.0

View File

@ -1,13 +1,13 @@
diff --git a/llvm/include/llvm/TargetParser/Triple.h b/llvm/include/llvm/TargetParser/Triple.h
index 59513fa..4de99ae 100644
index d2126a0..eaf7599 100644
--- a/llvm/include/llvm/TargetParser/Triple.h
+++ b/llvm/include/llvm/TargetParser/Triple.h
@@ -582,7 +582,8 @@ public:
Env == Triple::GNUABI64 || Env == Triple::GNUEABI ||
Env == Triple::GNUEABIHF || Env == Triple::GNUF32 ||
Env == Triple::GNUF64 || Env == Triple::GNUSF ||
- Env == Triple::GNUX32;
+ Env == Triple::GNUX32 ||
@@ -614,7 +614,8 @@ public:
Env == Triple::GNUEABI || Env == Triple::GNUEABIT64 ||
Env == Triple::GNUEABIHF || Env == Triple::GNUEABIHFT64 ||
Env == Triple::GNUF32 || Env == Triple::GNUF64 ||
- Env == Triple::GNUSF || Env == Triple::GNUX32;
+ Env == Triple::GNUSF || Env == Triple::GNUX32 ||
+ (Env == Triple::UnknownEnvironment && getVendor() == Triple::SUSE);
}

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Nov 2 17:20:43 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 19.1.3.
* This release contains bug-fixes for the LLVM 19.1.0 release.
This release is API and ABI compatible with 19.1.0.
- Rebase patches:
* llvm-do-not-install-static-libraries.patch
* llvm-suse-implicit-gnu.patch
- Patch llvm-fix-build-failure-on-ppc64le.patch landed upstream.
-------------------------------------------------------------------
Mon Oct 28 22:11:18 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>

View File

@ -19,7 +19,7 @@
%global _sonum 19
%global _minor %{_sonum}.1
%global _soname %{_minor}%{?_rc:-rc%_rc}
%global _patch_level 2
%global _patch_level 3
%global _relver %{_minor}.%{_patch_level}
%global _version %_relver%{?_rc:-rc%_rc}
%global _itsme19 1
@ -438,8 +438,6 @@ Patch28: llvm-fix-cov-test-i586.patch
Patch29: clang-fix-modules-test-riscv.patch
# PATCH-FIX-UPSTREAM: Test using avx512f requires x86 target.
Patch30: clang-fix-openmp-test-non-x86.patch
# PATCH-FIX-UPSTREAM: Fix build failure on ppc64le.
Patch31: llvm-fix-build-failure-on-ppc64le.patch
BuildRequires: %{python_pkg}-base >= 3.8
BuildRequires: binutils-devel >= 2.21.90
BuildRequires: cmake >= 3.13.4
@ -882,7 +880,6 @@ This package contains the development files for Polly.
%patch -P 24 -p1
%patch -P 25 -p2
%patch -P 28 -p2
%patch -P 31 -p2
pushd clang-%{_version}.src
%patch -P 2 -p1

View File

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

Binary file not shown.

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

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

Binary file not shown.

View File

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

Binary file not shown.

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

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

BIN
polly-19.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:ec7e60cd8b1800bfed6f4c0b6ee2d9419dd8c27b1a19f3f1bc72e777fdb58ee2
size 7220

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

Binary file not shown.