From 64642ea93202615e0a55f1ce07ae44813728e6a3 Mon Sep 17 00:00:00 2001 From: Tulio Magno Quites Machado Filho Date: Mon, 27 Mar 2023 11:37:52 -0300 Subject: [PATCH 01/14] Rebuild for LLVM 16.0.0 update --- llvm15.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/llvm15.spec b/llvm15.spec index 3542ab8..b9a5a8b 100644 --- a/llvm15.spec +++ b/llvm15.spec @@ -74,7 +74,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}} -Release: 3%{?dist} +Release: 4%{?dist} Summary: The Low Level Virtual Machine License: Apache-2.0 WITH LLVM-exception OR NCSA @@ -567,6 +567,9 @@ fi %endif %changelog +* Mon Mar 27 2023 Tulio Magno Quites Machado Filho - 15.0.7-4 +- Rebuild for LLVM 16.0.0 update + * Thu Jan 19 2023 Tulio Magno Quites Machado Filho - 15.0.7-3 - Update license to SPDX identifiers. - Include the Apache license adopted in 2019. From 8a5e4c2b2886f3561a6b20c762a816abc1c197a3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 12:56:29 +0000 Subject: [PATCH 02/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- llvm15.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/llvm15.spec b/llvm15.spec index 3542ab8..3e8e0ce 100644 --- a/llvm15.spec +++ b/llvm15.spec @@ -74,7 +74,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}} -Release: 3%{?dist} +Release: 4%{?dist} Summary: The Low Level Virtual Machine License: Apache-2.0 WITH LLVM-exception OR NCSA @@ -567,6 +567,9 @@ fi %endif %changelog +* Thu Jul 20 2023 Fedora Release Engineering - 15.0.7-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Thu Jan 19 2023 Tulio Magno Quites Machado Filho - 15.0.7-3 - Update license to SPDX identifiers. - Include the Apache license adopted in 2019. From 24a79ed171a7cf559bc6b27bbdf860bce667a904 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 14 Sep 2023 01:39:44 -0400 Subject: [PATCH 03/14] Fix flatpak build Installation path macros cannot be relied upon to define the location of dependencies: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_dependencies --- llvm15.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm15.spec b/llvm15.spec index 3e8e0ce..0cb83d8 100644 --- a/llvm15.spec +++ b/llvm15.spec @@ -154,8 +154,8 @@ Requires: %{name}-test%{?_isa} = %{version}-%{release} %endif -Requires(post): %{_sbindir}/alternatives -Requires(postun): %{_sbindir}/alternatives +Requires(post): /usr/sbin/alternatives +Requires(postun): /usr/sbin/alternatives Provides: llvm-devel(major) = %{maj_ver} @@ -297,7 +297,7 @@ export ASMFLAGS=$CFLAGS -DSPHINX_WARNINGS_AS_ERRORS=OFF \ -DCMAKE_INSTALL_PREFIX=%{install_prefix} \ -DLLVM_INSTALL_SPHINX_HTML_DIR=%{_pkgdocdir}/html \ - -DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3 \ + -DSPHINX_EXECUTABLE=/usr/bin/sphinx-build-3 \ -DLLVM_INCLUDE_BENCHMARKS=OFF # Build libLLVM.so first. This ensures that when libLLVM.so is linking, there From b5364152e3a07c4d2b5c5997fba2c95c35984a2a Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Fri, 15 Sep 2023 00:34:34 -0400 Subject: [PATCH 04/14] Fix ld.so.conf.d path This location is hard-coded by glibc and is not prefix-variable. This fixes flatpak app RPM builds of clang15 and packages dependent thereon (e.g. openshadinglanguage). Flatpaks using these packages will still need to define LD_LIBRARY_PATH. --- llvm15.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/llvm15.spec b/llvm15.spec index 0cb83d8..29b0876 100644 --- a/llvm15.spec +++ b/llvm15.spec @@ -74,7 +74,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}} -Release: 4%{?dist} +Release: 5%{?dist} Summary: The Low Level Virtual Machine License: Apache-2.0 WITH LLVM-exception OR NCSA @@ -372,8 +372,8 @@ ln -s ../../../%{install_includedir}/llvm-c %{buildroot}/%{pkg_includedir}/llvm- %multilib_fix_c_header --file %{install_includedir}/llvm/Config/llvm-config.h # Create ld.so.conf.d entry -mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d -cat >> %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf << EOF +mkdir -p %{buildroot}/etc/ld.so.conf.d +cat >> %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf << EOF %{pkg_libdir} EOF @@ -501,7 +501,7 @@ fi %{_libdir}/libLLVM-%{maj_ver}.%{min_ver}*.so %{_libdir}/libLTO.so* %else -%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf +%config(noreplace) /etc/ld.so.conf.d/%{name}-%{_arch}.conf %if %{with gold} %{_libdir}/%{name}/lib/LLVMgold.so %endif @@ -567,6 +567,9 @@ fi %endif %changelog +* Fri Sep 15 2023 Yaakov Selkowitz - 15.0.7-5 +- Fix flatpak build + * Thu Jul 20 2023 Fedora Release Engineering - 15.0.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From c1ce31478627d64f0b0fff2c0a1619da31a9b707 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 06:06:23 +0000 Subject: [PATCH 05/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- llvm15.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/llvm15.spec b/llvm15.spec index 29b0876..97760bb 100644 --- a/llvm15.spec +++ b/llvm15.spec @@ -74,7 +74,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}} -Release: 5%{?dist} +Release: 6%{?dist} Summary: The Low Level Virtual Machine License: Apache-2.0 WITH LLVM-exception OR NCSA @@ -567,6 +567,9 @@ fi %endif %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 15.0.7-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Sep 15 2023 Yaakov Selkowitz - 15.0.7-5 - Fix flatpak build From d071f676518e9fbc88a1ffd5611e0669d800d36c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 04:32:20 +0000 Subject: [PATCH 06/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- llvm15.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/llvm15.spec b/llvm15.spec index 97760bb..e57b427 100644 --- a/llvm15.spec +++ b/llvm15.spec @@ -74,7 +74,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}} -Release: 6%{?dist} +Release: 7%{?dist} Summary: The Low Level Virtual Machine License: Apache-2.0 WITH LLVM-exception OR NCSA @@ -567,6 +567,9 @@ fi %endif %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 15.0.7-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 15.0.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 8126dc81db84b3f280e746df9de61c93d41225a4 Mon Sep 17 00:00:00 2001 From: Tulio Magno Quites Machado Filho Date: Tue, 5 Mar 2024 19:19:24 -0300 Subject: [PATCH 07/14] Force ldconfig execution in compat packages Fixes rhbz#2001328. --- llvm15.spec | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/llvm15.spec b/llvm15.spec index e57b427..278f1f4 100644 --- a/llvm15.spec +++ b/llvm15.spec @@ -74,7 +74,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}} -Release: 7%{?dist} +Release: 8%{?dist} Summary: The Low Level Virtual Machine License: Apache-2.0 WITH LLVM-exception OR NCSA @@ -177,6 +177,9 @@ Summary: LLVM shared libraries %description libs Shared libraries for the LLVM compiler infrastructure. +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + %package static Summary: LLVM static libraries Conflicts: %{name}-devel < 8 @@ -451,7 +454,14 @@ LD_LIBRARY_PATH=%{buildroot}/%{pkg_libdir} \ %endif -%ldconfig_scriptlets libs +%if %{with compat_build} +# Packages that install files in /etc/ld.so.conf have to manually run +# ldconfig. +# See https://bugzilla.redhat.com/show_bug.cgi?id=2001328 and +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_linker_configuration_files +%post -p /sbin/ldconfig libs +%postun -p /sbin/ldconfig libs +%endif %post devel %{_sbindir}/update-alternatives --install %{_bindir}/llvm-config%{exec_suffix} llvm-config%{exec_suffix} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits} %{__isa_bits} @@ -567,6 +577,9 @@ fi %endif %changelog +* Tue Mar 05 2024 Tulio Magno Quites Machado Filho - 15.0.7-8 +- Force ldconfig execution in compat packages. Fixes rhbz#2001328. + * Thu Jan 25 2024 Fedora Release Engineering - 15.0.7-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 6732dd3ea000acc4ee48fabf3cc857a0b23fbac5 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Wed, 13 Mar 2024 16:05:29 -0400 Subject: [PATCH 08/14] Fix scriplets for flatpak builds Just as with the BuildRequires, the scriptlets also need to use a fixed location for update-alternatives which is part of the runtime. This is a follow-up to commit 24a79ed171a7cf559bc6b27bbdf860bce667a904. --- llvm15.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm15.spec b/llvm15.spec index 278f1f4..2ede04a 100644 --- a/llvm15.spec +++ b/llvm15.spec @@ -464,16 +464,16 @@ LD_LIBRARY_PATH=%{buildroot}/%{pkg_libdir} \ %endif %post devel -%{_sbindir}/update-alternatives --install %{_bindir}/llvm-config%{exec_suffix} llvm-config%{exec_suffix} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits} %{__isa_bits} +/usr/sbin/update-alternatives --install %{_bindir}/llvm-config%{exec_suffix} llvm-config%{exec_suffix} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits} %{__isa_bits} %if %{without compat_build} -%{_sbindir}/update-alternatives --install %{_bindir}/llvm-config-%{maj_ver} llvm-config-%{maj_ver} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits} %{__isa_bits} +/usr/sbin/update-alternatives --install %{_bindir}/llvm-config-%{maj_ver} llvm-config-%{maj_ver} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits} %{__isa_bits} %endif %postun devel if [ $1 -eq 0 ]; then - %{_sbindir}/update-alternatives --remove llvm-config%{exec_suffix} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits} + /usr/sbin/update-alternatives --remove llvm-config%{exec_suffix} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits} %if %{without compat_build} - %{_sbindir}/update-alternatives --remove llvm-config-%{maj_ver} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits} + /usr/sbin/update-alternatives --remove llvm-config-%{maj_ver} %{pkg_bindir}/llvm-config%{exec_suffix}-%{__isa_bits} %endif fi From 45f6b5e839236c946425a8209acf1cc7aeb138c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= Date: Tue, 16 Jul 2024 10:58:16 +0200 Subject: [PATCH 09/14] Fix tests on Python 3.13 --- llvm15.spec | 7 ++++++- tests-Python-3.13-compat.patch | 31 +++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 tests-Python-3.13-compat.patch diff --git a/llvm15.spec b/llvm15.spec index 2ede04a..c20c127 100644 --- a/llvm15.spec +++ b/llvm15.spec @@ -74,7 +74,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}} -Release: 8%{?dist} +Release: 9%{?dist} Summary: The Low Level Virtual Machine License: Apache-2.0 WITH LLVM-exception OR NCSA @@ -85,6 +85,8 @@ Source2: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ve Source3: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{cmake_srcdir}.tar.xz.sig Source4: release-keys.asc +Patch1: tests-Python-3.13-compat.patch + %if %{without compat_build} Source5: run-lit-tests Source6: lit.fedora.cfg.py @@ -577,6 +579,9 @@ fi %endif %changelog +* Tue Jul 16 2024 František Zatloukal - 15.0.7-9 +- Fix tests on Python 3.13 + * Tue Mar 05 2024 Tulio Magno Quites Machado Filho - 15.0.7-8 - Force ldconfig execution in compat packages. Fixes rhbz#2001328. diff --git a/tests-Python-3.13-compat.patch b/tests-Python-3.13-compat.patch new file mode 100644 index 0000000..d49c4d7 --- /dev/null +++ b/tests-Python-3.13-compat.patch @@ -0,0 +1,31 @@ +From 9506d5e88780a68ae66a7960ca6a37e8b3451277 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= +Date: Tue, 16 Jul 2024 09:11:08 +0200 +Subject: [PATCH] tests: Python 3.13 compat + +--- + llvm/test/Bindings/Go/lit.local.cfg | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/llvm/test/Bindings/Go/lit.local.cfg b/llvm/test/Bindings/Go/lit.local.cfg +index 91a0ad8..4da83a1 100644 +--- a/llvm/test/Bindings/Go/lit.local.cfg ++++ b/llvm/test/Bindings/Go/lit.local.cfg +@@ -1,5 +1,4 @@ + import os +-import pipes + import shlex + import sys + +@@ -56,7 +55,7 @@ def fixup_compiler_path(compiler): + except (AttributeError, OSError): + pass + +- return ' '.join([pipes.quote(arg) for arg in args]) ++ return ' '.join([shlex.quote(arg) for arg in args]) + + config.environment['CC'] = fixup_compiler_path(config.host_cc) + config.environment['CXX'] = fixup_compiler_path(config.host_cxx) +-- +2.45.2 + From 80c248b0d72bc16602cddb11a782777b9bedaa4e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 15:53:04 +0000 Subject: [PATCH 10/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- llvm15.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/llvm15.spec b/llvm15.spec index c20c127..8919513 100644 --- a/llvm15.spec +++ b/llvm15.spec @@ -74,7 +74,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}} -Release: 9%{?dist} +Release: 10%{?dist} Summary: The Low Level Virtual Machine License: Apache-2.0 WITH LLVM-exception OR NCSA @@ -579,6 +579,9 @@ fi %endif %changelog +* Thu Jul 18 2024 Fedora Release Engineering - 15.0.7-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Tue Jul 16 2024 František Zatloukal - 15.0.7-9 - Fix tests on Python 3.13 From 6135c8df6c61719ee4f606563a59832a50031a42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= Date: Thu, 5 Sep 2024 23:15:07 +0200 Subject: [PATCH 11/14] Disable LTO to resolve clang15 linking issues --- llvm15.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/llvm15.spec b/llvm15.spec index 8919513..60eca77 100644 --- a/llvm15.spec +++ b/llvm15.spec @@ -6,6 +6,9 @@ # https://bugzilla.redhat.com/show_bug.cgi?id=2158587 %undefine _include_frame_pointers +# Resolves clang15 linking issues +%global _lto_cflags %nil + # Components enabled if supported by target architecture: %define gold_arches %{ix86} x86_64 %{arm} aarch64 %{power64} s390x %ifarch %{gold_arches} @@ -23,7 +26,7 @@ %global patch_ver 7 %global llvm_srcdir llvm-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:rc%{rc_ver}}.src %global cmake_srcdir cmake-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:rc%{rc_ver}}.src -%global _lto_cflags -flto=thin +#%%global _lto_cflags -flto=thin %if %{with compat_build} %global pkg_name llvm%{maj_ver} @@ -74,7 +77,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}} -Release: 10%{?dist} +Release: 11%{?dist} Summary: The Low Level Virtual Machine License: Apache-2.0 WITH LLVM-exception OR NCSA @@ -579,6 +582,9 @@ fi %endif %changelog +* Thu Sep 05 2024 František Zatloukal - 15.0.7-11 +- Disable LTO to resolve clang15 linking issues + * Thu Jul 18 2024 Fedora Release Engineering - 15.0.7-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 700608a16105d3274b9329435d8cd55bf48a79f0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 15:51:26 +0000 Subject: [PATCH 12/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- llvm15.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/llvm15.spec b/llvm15.spec index 60eca77..de49861 100644 --- a/llvm15.spec +++ b/llvm15.spec @@ -77,7 +77,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}} -Release: 11%{?dist} +Release: 12%{?dist} Summary: The Low Level Virtual Machine License: Apache-2.0 WITH LLVM-exception OR NCSA @@ -582,6 +582,9 @@ fi %endif %changelog +* Fri Jan 17 2025 Fedora Release Engineering - 15.0.7-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Sep 05 2024 František Zatloukal - 15.0.7-11 - Disable LTO to resolve clang15 linking issues From 6a6661e8c79db96e7d55861b263986054d2ed688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= Date: Thu, 30 Jan 2025 15:50:57 +0100 Subject: [PATCH 13/14] Missing cstdint includes (RHBZ#2340791) --- cstdint.patch | 44 ++++++++++++++++++++++++++++++++++++++++++++ llvm15.spec | 8 +++++++- 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 cstdint.patch diff --git a/cstdint.patch b/cstdint.patch new file mode 100644 index 0000000..272e11c --- /dev/null +++ b/cstdint.patch @@ -0,0 +1,44 @@ +diff -ruN llvm18-18.1.8-build.orig/llvm-18.1.8.src/include/llvm/ADT/SmallVector.h llvm18-18.1.8-build/llvm-18.1.8.src/include/llvm/ADT/SmallVector.h +--- llvm18-18.1.8-build.orig/llvm-18.1.8.src/include/llvm/ADT/SmallVector.h 2024-06-15 19:21:32.000000000 +0200 ++++ llvm18-18.1.8-build/llvm-18.1.8.src/include/llvm/ADT/SmallVector.h 2025-01-20 11:16:51.376050420 +0100 +@@ -20,6 +20,7 @@ + #include + #include + #include ++#include + #include + #include + #include +diff -ruN llvm18-18.1.8-build.orig/llvm-18.1.8.src/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h llvm18-18.1.8-build/llvm-18.1.8.src/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h +--- llvm18-18.1.8-build.orig/llvm-18.1.8.src/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h 2024-06-15 19:21:32.000000000 +0200 ++++ llvm18-18.1.8-build/llvm-18.1.8.src/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h 2025-01-20 13:59:46.883931619 +0100 +@@ -16,6 +16,7 @@ + #define LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUMCTARGETDESC_H + + #include ++#include + + namespace llvm { + class Target; +diff -ruN llvm18-18.1.8-build.orig/llvm-18.1.8.src/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h llvm18-18.1.8-build/llvm-18.1.8.src/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h +--- llvm18-18.1.8-build.orig/llvm-18.1.8.src/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h 2024-06-15 19:21:32.000000000 +0200 ++++ llvm18-18.1.8-build/llvm-18.1.8.src/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h 2025-01-20 13:27:17.844538342 +0100 +@@ -15,6 +15,7 @@ + + #include + #include ++#include + + namespace llvm { + class formatted_raw_ostream; +diff -ruN llvm18-18.1.8-build.orig/llvm-18.1.8.src/utils/TableGen/RegisterInfoEmitter.cpp llvm18-18.1.8-build/llvm-18.1.8.src/utils/TableGen/RegisterInfoEmitter.cpp +--- llvm18-18.1.8-build.orig/llvm-18.1.8.src/utils/TableGen/RegisterInfoEmitter.cpp 2024-06-15 19:21:32.000000000 +0200 ++++ llvm18-18.1.8-build/llvm-18.1.8.src/utils/TableGen/RegisterInfoEmitter.cpp 2025-01-20 14:38:02.042933335 +0100 +@@ -115,6 +115,7 @@ + OS << "\n#ifdef GET_REGINFO_ENUM\n"; + OS << "#undef GET_REGINFO_ENUM\n\n"; + ++ OS << "#include \n"; + OS << "namespace llvm {\n\n"; + + OS << "class MCRegisterClass;\n" diff --git a/llvm15.spec b/llvm15.spec index de49861..c377607 100644 --- a/llvm15.spec +++ b/llvm15.spec @@ -77,7 +77,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}} -Release: 12%{?dist} +Release: 13%{?dist} Summary: The Low Level Virtual Machine License: Apache-2.0 WITH LLVM-exception OR NCSA @@ -101,6 +101,9 @@ Patch2: 0003-XFAIL-missing-abstract-variable.ll-test-on-ppc64le.patch # TODO: Can be dropped for LLVM 16, see https://reviews.llvm.org/D131282. Patch3: 0001-Install-clang-tblgen.patch +# Missing cstdint includes +Patch4: cstdint.patch + BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: clang @@ -582,6 +585,9 @@ fi %endif %changelog +* Thu Jan 30 2025 František Zatloukal - 15.0.7-13 +- Missing cstdint includes (RHBZ#2340791) + * Fri Jan 17 2025 Fedora Release Engineering - 15.0.7-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 97f1648d681dd37b8eb1ffe4df8253217a44f78d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 20:47:47 +0000 Subject: [PATCH 14/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- llvm15.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/llvm15.spec b/llvm15.spec index c377607..2c6b5b0 100644 --- a/llvm15.spec +++ b/llvm15.spec @@ -77,7 +77,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}} -Release: 13%{?dist} +Release: 14%{?dist} Summary: The Low Level Virtual Machine License: Apache-2.0 WITH LLVM-exception OR NCSA @@ -585,6 +585,9 @@ fi %endif %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 15.0.7-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Thu Jan 30 2025 František Zatloukal - 15.0.7-13 - Missing cstdint includes (RHBZ#2340791)