forked from pool/llvm17
Accepting request 1127717 from devel:tools:compiler
- Update to version 17.0.5. * This release contains bug-fixes for the LLVM 17.0.0 release. This release is API and ABI compatible with 17.0.0. - Rebase llvm-do-not-install-static-libraries.patch. - Also test clang-tools-extra (at least most parts) and lld. - Adapt test in lld-default-sha1.patch. - Don't disable testing if qemu_user_space_build has been set to 0. OBS-URL: https://build.opensuse.org/request/show/1127717 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm17?expand=0&rev=5
This commit is contained in:
commit
1a2815f887
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:56c99515be2f245848dacc60fe85fe9de66cdc438ea0a1b82640e68384d0e432
|
||||
size 21576540
|
Binary file not shown.
3
clang-17.0.5.src.tar.xz
Normal file
3
clang-17.0.5.src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:66b45502b9d570fda7feefe3595e34f0bf0c49df84f4298c7735289427f17bcb
|
||||
size 21574748
|
BIN
clang-17.0.5.src.tar.xz.sig
Normal file
BIN
clang-17.0.5.src.tar.xz.sig
Normal file
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:78c92b7e8e7154408b6ae3f8c003d1ab46af43b62cbad7aa4b10f4bc3059474f
|
||||
size 1615008
|
3
clang-docs-17.0.5.src.tar.xz
Normal file
3
clang-docs-17.0.5.src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1524a659cbe618e46f4ca12c389b3fe96558e8cdbdaca6cab35e3cbf6baae189
|
||||
size 1614892
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e191d573cbf0ec15ce12c8ac7080d3a1eeb27b8296ee104e1147cae90f424211
|
||||
size 3269996
|
Binary file not shown.
3
clang-tools-extra-17.0.5.src.tar.xz
Normal file
3
clang-tools-extra-17.0.5.src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:599cf5ae037e8da4107efadccb996fd7f8e42a3ae96f8b09514560b840b8ab89
|
||||
size 3270140
|
BIN
clang-tools-extra-17.0.5.src.tar.xz.sig
Normal file
BIN
clang-tools-extra-17.0.5.src.tar.xz.sig
Normal file
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1a5cbe4a1fcda56ecdd80f42c3437060a28c97ec31de1748f6ba6aa84948fb0f
|
||||
size 8712
|
Binary file not shown.
3
cmake-17.0.5.src.tar.xz
Normal file
3
cmake-17.0.5.src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:734ea7767ebda642d22c878024c9fb14ae0521d048bdba54e463bb73260adaef
|
||||
size 8712
|
BIN
cmake-17.0.5.src.tar.xz.sig
Normal file
BIN
cmake-17.0.5.src.tar.xz.sig
Normal file
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9dd56f359f3dc08fb1dd34f4e3147e5a84b4f0d96a39160c8eb739cf7ea32e64
|
||||
size 2419208
|
Binary file not shown.
3
compiler-rt-17.0.5.src.tar.xz
Normal file
3
compiler-rt-17.0.5.src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4e3b4a05780baf04a11e80efbe5039ff3ef17af617233f326f073e7af2cdab89
|
||||
size 2420936
|
BIN
compiler-rt-17.0.5.src.tar.xz.sig
Normal file
BIN
compiler-rt-17.0.5.src.tar.xz.sig
Normal file
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:339f423355ac8089e5db693454145b4661ac1594269e51e661f1d244ccb49567
|
||||
size 3947524
|
Binary file not shown.
3
libcxx-17.0.5.src.tar.xz
Normal file
3
libcxx-17.0.5.src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:18c5d9413a63aa624c48273de4cce6b5e288b56a7a0b3cf4ecd93954255f4ddf
|
||||
size 3955896
|
BIN
libcxx-17.0.5.src.tar.xz.sig
Normal file
BIN
libcxx-17.0.5.src.tar.xz.sig
Normal file
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:758a4b833080e3306f064e5e44355c2d57bd1c56b1b340d8acb08c179d61044e
|
||||
size 575700
|
Binary file not shown.
3
libcxxabi-17.0.5.src.tar.xz
Normal file
3
libcxxabi-17.0.5.src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1b92dd9fdf7f8857f34498e33a73119c2fe23280414a107523c9704c891b9543
|
||||
size 575600
|
BIN
libcxxabi-17.0.5.src.tar.xz.sig
Normal file
BIN
libcxxabi-17.0.5.src.tar.xz.sig
Normal file
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:47f5da4d28c60d69ab134c028ece0af8a5e18aca940d26a672265a381cafdc50
|
||||
size 1505900
|
Binary file not shown.
3
lld-17.0.5.src.tar.xz
Normal file
3
lld-17.0.5.src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eaf86bc352be5d1a86b65aedbaf34cd38d149d17edf602ad9605c2eaea560eb3
|
||||
size 1506168
|
BIN
lld-17.0.5.src.tar.xz.sig
Normal file
BIN
lld-17.0.5.src.tar.xz.sig
Normal file
Binary file not shown.
@ -11,3 +11,48 @@ Index: lld-15.0.0rc2.src/ELF/Options.td
|
||||
|
||||
defm check_sections: B<"check-sections",
|
||||
"Check section addresses for overlaps (default)",
|
||||
Index: lld-17.0.4.src/test/ELF/build-id.s
|
||||
===================================================================
|
||||
--- lld-17.0.4.src.orig/test/ELF/build-id.s
|
||||
+++ lld-17.0.4.src/test/ELF/build-id.s
|
||||
@@ -6,11 +6,12 @@
|
||||
# RUN: llvm-readobj -S %t2 | FileCheck -check-prefix=ALIGN %s
|
||||
|
||||
# RUN: ld.lld --build-id %t -o %t2
|
||||
-# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=DEFAULT %s
|
||||
+# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=SHA1 %s
|
||||
+
|
||||
# RUN: ld.lld --build-id=fast %t -o %t2
|
||||
-# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=DEFAULT %s
|
||||
-# RUN: ld.lld --build-id %t -o %t2 --threads=1
|
||||
-# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=DEFAULT %s
|
||||
+# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=FAST %s
|
||||
+# RUN: ld.lld --build-id=fast %t -o %t2 --threads=1
|
||||
+# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=FAST %s
|
||||
|
||||
# RUN: ld.lld --build-id=md5 %t -o %t2
|
||||
# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=MD5 %s
|
||||
@@ -41,7 +42,7 @@
|
||||
# RUN: ld.lld --build-id --build-id=none %t -o %t2
|
||||
# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=NONE %s
|
||||
# RUN: ld.lld --build-id=none --build-id %t -o %t2
|
||||
-# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=DEFAULT %s
|
||||
+# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=SHA1 %s
|
||||
|
||||
.globl _start
|
||||
_start:
|
||||
@@ -62,10 +63,10 @@
|
||||
# ALIGN-NEXT: Info:
|
||||
# ALIGN-NEXT: AddressAlignment: 4
|
||||
|
||||
-# DEFAULT: Contents of section .note.test:
|
||||
-# DEFAULT: Contents of section .note.gnu.build-id:
|
||||
-# DEFAULT-NEXT: 04000000 08000000 03000000 474e5500 ............GNU.
|
||||
-# DEFAULT-NEXT: 630bc2f5 a2584763
|
||||
+# FAST: Contents of section .note.test:
|
||||
+# FAST: Contents of section .note.gnu.build-id:
|
||||
+# FAST-NEXT: 04000000 08000000 03000000 474e5500 ............GNU.
|
||||
+# FAST-NEXT: 630bc2f5 a2584763
|
||||
|
||||
# MD5: Contents of section .note.gnu.build-id:
|
||||
# MD5-NEXT: 04000000 10000000 03000000 474e5500 ............GNU.
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:388418840036f897a0b141b7f708f24ac133681ca4fb4733a2918d9dac2c2f1c
|
||||
size 10492916
|
Binary file not shown.
3
lldb-17.0.5.src.tar.xz
Normal file
3
lldb-17.0.5.src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cfc10ed4a7de8681ca599c4718eecc91802f95c7f7dace66f5d0815b1aec6103
|
||||
size 10494184
|
BIN
lldb-17.0.5.src.tar.xz.sig
Normal file
BIN
lldb-17.0.5.src.tar.xz.sig
Normal file
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4f5907fb547947d10df35230a0fc73cf2f81aa12e09fc8de96c023425412c9f6
|
||||
size 59299192
|
Binary file not shown.
3
llvm-17.0.5.src.tar.xz
Normal file
3
llvm-17.0.5.src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:569526fd017478eee51518a79c064442c0499269c6a6de586e409d91282afd04
|
||||
size 59298032
|
BIN
llvm-17.0.5.src.tar.xz.sig
Normal file
BIN
llvm-17.0.5.src.tar.xz.sig
Normal file
Binary file not shown.
@ -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-17.0.4.src/cmake/modules/AddClang.cmake
|
||||
Index: clang-17.0.5.src/cmake/modules/AddClang.cmake
|
||||
===================================================================
|
||||
--- a/clang-17.0.4.src/cmake/modules/AddClang.cmake
|
||||
+++ b/clang-17.0.4.src/cmake/modules/AddClang.cmake
|
||||
--- a/clang-17.0.5.src/cmake/modules/AddClang.cmake
|
||||
+++ b/clang-17.0.5.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-17.0.4.src/cmake/modules/AddLLD.cmake
|
||||
Index: lld-17.0.5.src/cmake/modules/AddLLD.cmake
|
||||
===================================================================
|
||||
--- a/lld-17.0.4.src/cmake/modules/AddLLD.cmake
|
||||
+++ b/lld-17.0.4.src/cmake/modules/AddLLD.cmake
|
||||
--- a/lld-17.0.5.src/cmake/modules/AddLLD.cmake
|
||||
+++ b/lld-17.0.5.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-17.0.4.src/cmake/modules/AddLLD.cmake
|
||||
if (${ARG_SHARED} AND NOT CMAKE_CONFIGURATION_TYPES)
|
||||
add_llvm_install_targets(install-${name}
|
||||
DEPENDS ${name}
|
||||
Index: polly-17.0.4.src/cmake/polly_macros.cmake
|
||||
Index: polly-17.0.5.src/cmake/polly_macros.cmake
|
||||
===================================================================
|
||||
--- a/polly-17.0.4.src/cmake/polly_macros.cmake
|
||||
+++ b/polly-17.0.4.src/cmake/polly_macros.cmake
|
||||
--- a/polly-17.0.5.src/cmake/polly_macros.cmake
|
||||
+++ b/polly-17.0.5.src/cmake/polly_macros.cmake
|
||||
@@ -42,12 +42,14 @@ macro(add_polly_library name)
|
||||
llvm_config(${name} ${LLVM_LINK_COMPONENTS})
|
||||
endif( LLVM_LINK_COMPONENTS )
|
||||
@ -110,10 +110,10 @@ Index: polly-17.0.4.src/cmake/polly_macros.cmake
|
||||
endmacro(add_polly_library)
|
||||
|
||||
macro(add_polly_loadable_module name)
|
||||
Index: polly-17.0.4.src/lib/CMakeLists.txt
|
||||
Index: polly-17.0.5.src/lib/CMakeLists.txt
|
||||
===================================================================
|
||||
--- a/polly-17.0.4.src/lib/CMakeLists.txt
|
||||
+++ b/polly-17.0.4.src/lib/CMakeLists.txt
|
||||
--- a/polly-17.0.5.src/lib/CMakeLists.txt
|
||||
+++ b/polly-17.0.5.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
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cec3ae6f0e51d38cda588b7a47b009c4ae942c2cf81d8b3e53845a49aa5a2726
|
||||
size 7138388
|
3
llvm-docs-17.0.5.src.tar.xz
Normal file
3
llvm-docs-17.0.5.src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ae53a57571944395ddcddd318f0512e88ec4923a1d185724e7d229c6ceb77a7a
|
||||
size 7138248
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 18 22:07:04 UTC 2023 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||
|
||||
- Update to version 17.0.5.
|
||||
* This release contains bug-fixes for the LLVM 17.0.0 release.
|
||||
This release is API and ABI compatible with 17.0.0.
|
||||
- Rebase llvm-do-not-install-static-libraries.patch.
|
||||
- Also test clang-tools-extra (at least most parts) and lld.
|
||||
- Adapt test in lld-default-sha1.patch.
|
||||
- Don't disable testing if qemu_user_space_build has been set to 0.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 5 20:20:37 UTC 2023 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||
|
||||
|
14
llvm17.spec
14
llvm17.spec
@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%global _relver 17.0.4
|
||||
%global _relver 17.0.5
|
||||
%global _version %_relver%{?_rc:rc%_rc}
|
||||
%global _tagver %_relver%{?_rc:-rc%_rc}
|
||||
%global _sonum 17
|
||||
@ -24,7 +24,7 @@
|
||||
%global _soname %{_sonum}%{?_sosuffix}
|
||||
%global _itsme17 1
|
||||
# Integer version used by update-alternatives
|
||||
%global _uaver 1704
|
||||
%global _uaver 1705
|
||||
%global _soclang 13
|
||||
%global _socxx 1
|
||||
|
||||
@ -1367,7 +1367,7 @@ export LANG=C.UTF-8
|
||||
# NOTE: We're not running the tests via ninja, because we've removed object
|
||||
# files and static libraries already.
|
||||
pushd build
|
||||
%if !0%{?qemu_user_space_build:1}
|
||||
%if !0%{?qemu_user_space_build}
|
||||
# we just do not have enough memory with qemu emulation
|
||||
|
||||
# We don't build llvm-exegesis.
|
||||
@ -1400,6 +1400,14 @@ rm -r ../tools/clang/test/ClangScanDeps
|
||||
python3 bin/llvm-lit -sv --param clang_site_config=tools/clang/test/lit.site.cfg \
|
||||
--param USE_Z3_SOLVER=0 tools/clang/test/
|
||||
|
||||
# The implementation of abseil-duration-factory-scale breaks with extended
|
||||
# precision, and the Altera test assumes 8-byte alignment for double.
|
||||
sed -i '1i// XFAIL: target=i586-{{.*}}' ../tools/clang/tools/extra/test/clang-tidy/checkers/{abseil/duration-factory-scale.cpp,altera/struct-pack-align.cpp}
|
||||
python3 bin/llvm-lit -sv tools/clang/tools/extra/test/
|
||||
python3 bin/llvm-lit -sv tools/clang/tools/extra/clangd/test/
|
||||
|
||||
python3 bin/llvm-lit -sv tools/lld/test/
|
||||
|
||||
%if %{with libcxx}
|
||||
# libcxx tests run too long for what they're worth to us.
|
||||
# So let's just run them for new versions only.
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:535cbcca075430cb2d4e54a8062cb9646938170aeb72d359f13183f2a31b701a
|
||||
size 1273372
|
Binary file not shown.
3
openmp-17.0.5.src.tar.xz
Normal file
3
openmp-17.0.5.src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:13c80e80d3eea2f4ffe89585a8e8c81bdedec410192c613fc089a12f7da4c0a2
|
||||
size 1273408
|
BIN
openmp-17.0.5.src.tar.xz.sig
Normal file
BIN
openmp-17.0.5.src.tar.xz.sig
Normal file
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7df6acd420a131953b6042a270cdd032d50d148453a5257aa11ea567bfd16d7c
|
||||
size 9220960
|
Binary file not shown.
3
polly-17.0.5.src.tar.xz
Normal file
3
polly-17.0.5.src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2048c2149fc61d134926bd662d039f06aba9ae193847fef0e8536075209c48ae
|
||||
size 9215772
|
BIN
polly-17.0.5.src.tar.xz.sig
Normal file
BIN
polly-17.0.5.src.tar.xz.sig
Normal file
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:05dd8da33444ff8274efde0e3d0ebb722da5a99bab269679fa1222e3510fc8ce
|
||||
size 6244
|
Binary file not shown.
3
runtimes-17.0.5.src.tar.xz
Normal file
3
runtimes-17.0.5.src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:624ce23776dfb730e0b960091ba795c5ce26a0a7a0bea2e575804f1a5ac027e6
|
||||
size 6244
|
BIN
runtimes-17.0.5.src.tar.xz.sig
Normal file
BIN
runtimes-17.0.5.src.tar.xz.sig
Normal file
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:49358a7da2f49149a3028bf3aa6389052d4ebc15c548699cf19694141fdea847
|
||||
size 383756
|
Binary file not shown.
3
third-party-17.0.5.src.tar.xz
Normal file
3
third-party-17.0.5.src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fe2f67bda7b1c28ff3930a91481cf64b6059aacf7b683c29b95424d32a258890
|
||||
size 383700
|
BIN
third-party-17.0.5.src.tar.xz.sig
Normal file
BIN
third-party-17.0.5.src.tar.xz.sig
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user