Compare commits

...

31 Commits

Author SHA1 Message Date
David Abdurachmanov 79942a2f49
Merge remote-tracking branch 'up/f40' into f40-riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-05-13 10:52:14 +03:00
Tom Stellard df63c001ff 18.1.3 Release 2024-04-17 23:40:33 +00:00
David Abdurachmanov 0dbd84f2ef
Disable LTO on riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-03-28 12:39:38 +02:00
Tulio Magno Quites Machado Filho c54042d02e Move liblldb symlink to the main package
Fix rhbz#2260611.
2024-03-25 10:40:58 -03:00
Tom Stellard 7075bef0b0 18.1.2 Release 2024-03-22 18:58:17 +00:00
Tom Stellard a0db04f273 18.1.1 Release 2024-03-13 00:17:15 +00:00
Tom Stellard ca4b58d415 18.1.0-rc4 Release 2024-02-28 20:05:12 +00:00
Fedora Release Engineering 8b98226bfb Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 04:28:26 +00:00
Fedora Release Engineering f235939cfb Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 06:04:30 +00:00
Tulio Magno Quites Machado Filho abea627cd8 Add patches in order to work with Python 3.12 and 3.13 2023-11-30 13:56:04 -03:00
Tulio Magno Quites Machado Filho 6476637d55 Remove unused patches
These patches have been removed from the spec file, but remained in the
repo.
2023-11-30 13:56:04 -03:00
Tulio Magno Quites Machado Filho a4a9a8b957 Update to LLVM 17.0.6 2023-11-29 10:08:51 -03:00
Tulio Magno Quites Machado Filho 104f63963a Update to LLVM 17.0.4 2023-11-01 19:46:31 -03:00
Tulio Magno Quites Machado Filho fa80d6c05b Update to LLVM 17.0.3 2023-10-18 09:41:21 -03:00
Tulio Magno Quites Machado Filho 65aefd6f4f Update to LLVM 17.0.2 2023-10-05 08:10:22 -03:00
Tulio Magno Quites Machado Filho 3871817aca Add missing sources 2023-09-26 14:27:08 -03:00
Tulio Magno Quites Machado Filho 10464485d4 Update to LLVM 17.0.1
Manually set CLANG_RESOURCE_DIR based on the rpm macros in order to
avoid using a path that depends on LLVM_LIBDIR_SUFFIX, which is not used
anymore since 2ad36cffbc3fe9169c3c86fa794159841aae9dd0.
2023-09-25 16:06:50 -03:00
Tulio Magno Quites Machado Filho f61239e69a Update to LLVM 17.0.0 RC4 2023-09-11 13:22:58 -03:00
Tulio Magno Quites Machado Filho 6e06ac19ec Update to LLVM 17.0.0 RC3 2023-08-25 18:03:04 -03:00
Tulio Magno Quites Machado Filho 33fc35ad79 Update to LLVM 17.0.0 RC2 2023-08-23 13:54:26 -03:00
Tulio Magno Quites Machado Filho c44bcea462 Update to LLVM 17.0.0 RC1 2023-08-10 13:56:46 -03:00
Tulio Magno Quites Machado Filho 185d6dc8bf Fix rpmlint warning
Remove an unnecessary extra space.
2023-07-25 10:37:55 -03:00
Fedora Release Engineering 3d4f17c7d3 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 12:54:24 +00:00
Tulio Magno Quites Machado Filho eb471c1f59 Update to LLVM 16.0.6 2023-07-10 11:49:12 -03:00
Python Maint 99a6a93262 Rebuilt for Python 3.12 2023-06-16 11:20:52 +02:00
Nikita Popov 5ee5e40709 Use llvm-cmake-utils package 2023-06-15 17:01:15 +02:00
Python Maint a27264cd1e Rebuilt for Python 3.12 2023-06-15 14:41:12 +02:00
Tulio Magno Quites Machado Filho 258023a1f4 Update to LLVM 16.0.5 2023-06-06 11:49:42 -03:00
Tulio Magno Quites Machado Filho abb02063eb Update to LLVM 16.0.4 2023-05-19 18:56:55 -03:00
Tulio Magno Quites Machado Filho 4a8c57b3d9 Update to LLVM 16.0.3 2023-05-10 15:14:40 -03:00
Tulio Magno Quites Machado Filho 13e8e6c63d Update to LLVM 16.0.2 2023-04-26 18:54:27 -03:00
3 changed files with 93 additions and 40 deletions

View File

@ -1,30 +0,0 @@
From fb389f0cd6b4e8996157fa7d7bc347fde7b43656 Mon Sep 17 00:00:00 2001
From: Tulio Magno Quites Machado Filho <tuliom@redhat.com>
Date: Thu, 23 Mar 2023 16:06:10 -0300
Subject: [PATCH] [lldb] Change LLVM_COMMON_CMAKE_UTILS usage
Let LLVM_COMMON_CMAKE_UTILS store the directory where cmake modules are
available and stop assuming its directory structure.
---
lldb/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lldb/CMakeLists.txt b/lldb/CMakeLists.txt
index 20d584c48bad..7bad2a9928cd 100644
--- a/lldb/CMakeLists.txt
+++ b/lldb/CMakeLists.txt
@@ -1,9 +1,9 @@
cmake_minimum_required(VERSION 3.13.4)
if(NOT DEFINED LLVM_COMMON_CMAKE_UTILS)
- set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake)
+ set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake/Modules)
endif()
-include(${LLVM_COMMON_CMAKE_UTILS}/Modules/CMakePolicy.cmake
+include(${LLVM_COMMON_CMAKE_UTILS}/CMakePolicy.cmake
NO_POLICY_SCOPE)
# Add path for custom modules.
--
2.39.2

View File

@ -4,13 +4,13 @@
# https://bugzilla.redhat.com/show_bug.cgi?id=2158587 # https://bugzilla.redhat.com/show_bug.cgi?id=2158587
%undefine _include_frame_pointers %undefine _include_frame_pointers
%global lldb_version 16.0.1 %global lldb_version 18.1.3
#global rc_ver 4 #global rc_ver 4
%global lldb_srcdir %{name}-%{lldb_version}%{?rc_ver:rc%{rc_ver}}.src %global lldb_srcdir %{name}-%{lldb_version}%{?rc_ver:rc%{rc_ver}}.src
Name: lldb Name: lldb
Version: %{lldb_version}%{?rc_ver:~rc%{rc_ver}} Version: %{lldb_version}%{?rc_ver:~rc%{rc_ver}}
Release: 1%{?dist} Release: 1.0.riscv64%{?dist}
Summary: Next generation high-performance debugger Summary: Next generation high-performance debugger
License: Apache-2.0 WITH LLVM-exception OR NCSA License: Apache-2.0 WITH LLVM-exception OR NCSA
@ -19,13 +19,12 @@ Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{lldb_v
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{lldb_version}%{?rc_ver:-rc%{rc_ver}}/%{lldb_srcdir}.tar.xz.sig Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{lldb_version}%{?rc_ver:-rc%{rc_ver}}/%{lldb_srcdir}.tar.xz.sig
Source2: release-keys.asc Source2: release-keys.asc
Patch0: 0001-lldb-Change-LLVM_COMMON_CMAKE_UTILS-usage.patch
BuildRequires: clang BuildRequires: clang
BuildRequires: cmake BuildRequires: cmake
BuildRequires: ninja-build BuildRequires: ninja-build
BuildRequires: llvm-devel = %{version} BuildRequires: llvm-devel = %{version}
BuildRequires: llvm-test = %{version} BuildRequires: llvm-test = %{version}
BuildRequires: llvm-cmake-utils = %{version}
BuildRequires: clang-devel = %{version} BuildRequires: clang-devel = %{version}
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: swig BuildRequires: swig
@ -72,15 +71,18 @@ The package contains the LLDB Python module.
%autosetup -n %{lldb_srcdir} -p2 %autosetup -n %{lldb_srcdir} -p2
%build %build
%ifnarch riscv64
%global _lto_cflags -flto=thin %global _lto_cflags -flto=thin
%else
%global _lto_cflags %{nil}
%endif
%cmake -GNinja \ %cmake -GNinja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_SKIP_RPATH:BOOL=ON \ -DCMAKE_SKIP_RPATH:BOOL=ON \
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \ -DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
-DLLVM_CONFIG:FILEPATH=/usr/bin/llvm-config-%{__isa_bits} \ -DLLVM_CONFIG:FILEPATH=/usr/bin/llvm-config-%{__isa_bits} \
-DLLVM_COMMON_CMAKE_UTILS=%{_libdir}/cmake/llvm/ \ -DLLVM_COMMON_CMAKE_UTILS=%{_datadir}/llvm/cmake \
\
-DLLDB_DISABLE_CURSES:BOOL=OFF \ -DLLDB_DISABLE_CURSES:BOOL=OFF \
-DLLDB_DISABLE_LIBEDIT:BOOL=OFF \ -DLLDB_DISABLE_LIBEDIT:BOOL=OFF \
-DLLDB_DISABLE_PYTHON:BOOL=OFF \ -DLLDB_DISABLE_PYTHON:BOOL=OFF \
@ -95,6 +97,7 @@ The package contains the LLDB Python module.
-DPYTHON_VERSION_MINOR:STRING=$(%{__python3} -c "import sys; print(sys.version_info.minor)") \ -DPYTHON_VERSION_MINOR:STRING=$(%{__python3} -c "import sys; print(sys.version_info.minor)") \
-DLLVM_EXTERNAL_LIT=%{_bindir}/lit \ -DLLVM_EXTERNAL_LIT=%{_bindir}/lit \
-DCLANG_LINK_CLANG_DYLIB=ON \ -DCLANG_LINK_CLANG_DYLIB=ON \
-DCLANG_RESOURCE_DIR=$(realpath --relative-to=/usr/bin %{clang_resource_dir}) \
-DLLVM_LIT_ARGS="-sv \ -DLLVM_LIT_ARGS="-sv \
--path %{_libdir}/llvm" \ --path %{_libdir}/llvm" \
@ -124,17 +127,97 @@ rm -f %{buildroot}%{python3_sitearch}/six.*
%files %files
%license LICENSE.TXT %license LICENSE.TXT
%{_bindir}/lldb* %{_bindir}/lldb*
# Usually, *.so symlinks are kept in devel subpackages. However, the python
# bindings depend on this symlink at runtime.
%{_libdir}/*.so
%{_libdir}/liblldb.so.* %{_libdir}/liblldb.so.*
%{_libdir}/liblldbIntelFeatures.so.* %{_libdir}/liblldbIntelFeatures.so.*
%files devel %files devel
%{_includedir}/lldb %{_includedir}/lldb
%{_libdir}/*.so
%files -n python3-lldb %files -n python3-lldb
%{python3_sitearch}/lldb %{python3_sitearch}/lldb
%changelog %changelog
* Mon May 13 2024 David Abdurachmanov <davidlt@rivosinc.com> - 18.1.3-1.0.riscv64
- Disable LTO on riscv64
* Wed Apr 17 2024 Tom Stellard <tstellar@redhat.com> - 18.1.3-1
- 18.1.3 Release
* Mon Mar 25 2024 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 18.1.2-2
- Move liblldb symlink to the main package. Fix rhbz#2260611.
* Fri Mar 22 2024 Tom Stellard <tstellar@redhat.com> - 18.1.2-1
- 18.1.2 Release
* Tue Mar 12 2024 Tom Stellard <tstellar@redhat.com> - 18.1.1-1
- 18.1.1 Release
* Wed Feb 28 2024 Tom Stellard <tstellar@redhat.com> - 18.1.0~rc4-1
- 18.1.0-rc4 Release
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 17.0.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 17.0.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Nov 29 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.6-1
- Update to LLVM 17.0.6
* Wed Nov 01 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.4-1
- Update to LLVM 17.0.4
* Wed Oct 18 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.3-1
- Update to LLVM 17.0.3
* Wed Oct 04 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.2-1
- Update to LLVM 17.0.2
* Mon Sep 25 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.1-1
- Update to LLVM 17.0.1
* Mon Sep 11 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc4-1
- Update to LLVM 17.0.0 RC4
* Fri Aug 25 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc3-1
- Update to LLVM 17.0.0 RC3
* Wed Aug 23 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc2-1
- Update to LLVM 17.0.0 RC2
* Wed Aug 02 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc1-1
- Update to LLVM 17.0.0 RC1
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 16.0.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jul 10 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.6-1
- Update to LLVM 16.0.6
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 16.0.5-4
- Rebuilt for Python 3.12
* Thu Jun 15 2023 Nikita Popov <npopov@redhat.com> - 16.0.5-3
- Use llvm-cmake-utils package
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 16.0.5-2
- Rebuilt for Python 3.12
* Tue Jun 06 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.5-1
- Update to LLVM 16.0.5
* Fri May 19 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.4-1
- Update to LLVM 16.0.4
* Wed May 10 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.3-1
- Update to LLVM 16.0.3
* Wed Apr 26 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.2-1
- Update to LLVM 16.0.2
* Thu Apr 13 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.1-1 * Thu Apr 13 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.1-1
- Update to LLVM 16.0.1 - Update to LLVM 16.0.1

View File

@ -1,2 +1,2 @@
SHA512 (lldb-16.0.1.src.tar.xz) = 1691f8b25e76fa070a3ff4a6b13675e6af9926a5b9039052969a7881f1f478777f92c214df69847d958ae67275b4ff05568420cbc39a2ed5bf8c24b436bac568 SHA512 (lldb-18.1.3.src.tar.xz) = e65bc320570e483a0111e470e4add7af7b613feeecbb73f924c912fd97840082e4f67d14cc835b4c10a681e7875a6d1618b80a709b617cd4f85a919d0417bed1
SHA512 (lldb-16.0.1.src.tar.xz.sig) = 188266bab767e9ae06dbea00f8c6068f7042a1f89cf54e800fc1c5d6db7dbeccd13f3a9580ba5240088f565b0fdd9dc89fa14f83061171f17b1c295e0c6ca45d SHA512 (lldb-18.1.3.src.tar.xz.sig) = afc010d6f9ad39b0f35c211a60139a31c65560ca19acb6139da586c355bdcc1276ddcd17fc46a1423c8b9833510b59db3ed006b9edbff123ad815b15f67e9df7