2024-01-06 06:25:48 +01:00
|
|
|
%define gccver %(gcc -dumpversion)
|
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: lldb
|
2024-12-19 12:20:40 +01:00
|
|
|
Version: 19.1.6
|
2024-01-06 06:25:48 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 06:25:48 +01:00
|
|
|
Summary: Next generation, high-performance debugger
|
|
|
|
Group: Development/Languages
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 06:25:49 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 06:25:48 +01:00
|
|
|
URL: https://llvm.org/
|
|
|
|
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/lldb-%{version}.src.tar.xz
|
2024-01-06 06:25:51 +01:00
|
|
|
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/cmake-%{version}.src.tar.xz
|
|
|
|
Source2: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/third-party-%{version}.src.tar.xz
|
2024-01-06 06:25:48 +01:00
|
|
|
License: NCSA
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libclang-devel
|
|
|
|
BuildRequires: libedit-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libllvm-devel
|
2024-10-17 21:52:11 +02:00
|
|
|
BuildRequires: liblua53-devel
|
2024-01-06 06:25:48 +01:00
|
|
|
BuildRequires: liblzma-devel
|
2024-01-06 06:25:48 +01:00
|
|
|
BuildRequires: libncurses-devel
|
2024-05-22 21:28:57 +02:00
|
|
|
BuildRequires: libpython3-devel
|
|
|
|
BuildRequires: libpython311-devel
|
2024-01-06 06:25:48 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libxml2-devel
|
2024-01-06 06:25:49 +01:00
|
|
|
BuildRequires: libz-devel
|
2024-01-06 06:25:48 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 06:25:51 +01:00
|
|
|
BuildRequires: libclang-devel >= 16.0.4
|
2024-01-06 06:25:48 +01:00
|
|
|
BuildRequires: llvm
|
|
|
|
BuildRequires: lld
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Next generation, high-performance debugger.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Summary: Libraries and header files for LLVM
|
|
|
|
Group: Development/Languages
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
Next generation, high-performance debugger.
|
|
|
|
This package contains library and header files needed to develop new native programs that use the LLVM infrastructure.
|
|
|
|
|
|
|
|
%package -n lib%{name}-apidocs
|
|
|
|
Group: Documentation
|
|
|
|
Summary: lib%{name} API documentation
|
|
|
|
Requires: lib%{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: gtk-doc
|
|
|
|
|
|
|
|
%description -n lib%{name}-apidocs
|
|
|
|
This package includes the lib%{name} API documentation.
|
|
|
|
|
2024-01-06 06:25:48 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 06:25:48 +01:00
|
|
|
%prep
|
2024-01-06 06:25:51 +01:00
|
|
|
%setup -q -c -a0 -a1 -a2
|
|
|
|
#% setup -q -D -T
|
|
|
|
#:<< _EOF
|
|
|
|
mv lldb-%{version}.src lldb
|
|
|
|
mv cmake-%{version}.src cmake
|
|
|
|
mv third-party-%{version}.src third-party
|
|
|
|
|
2024-01-06 06:25:48 +01:00
|
|
|
%build
|
2024-01-06 06:25:49 +01:00
|
|
|
#:<< _EOF
|
2024-01-06 06:25:48 +01:00
|
|
|
mkdir -p build
|
|
|
|
cd build
|
|
|
|
|
2024-01-06 06:25:51 +01:00
|
|
|
cmake -G Ninja \
|
2024-01-06 06:25:48 +01:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
|
|
|
-DLLVM_LINK_LLVM_DYLIB=ON \
|
2024-01-06 06:25:49 +01:00
|
|
|
-DLLDB_USE_SYSTEM_SIX=1 \
|
2024-05-08 18:45:15 +02:00
|
|
|
-DPython3_EXECUTABLE=%{__python3} \
|
|
|
|
-DPython3_LIBRARY=%{_libdir}/libpython%{python3_version}.so \
|
|
|
|
-DLLDB_PYTHON_RELATIVE_PATH=%{python3_sitearch} \
|
2024-01-06 06:25:51 +01:00
|
|
|
-Wno-dev \
|
|
|
|
../lldb
|
2024-01-06 06:25:48 +01:00
|
|
|
|
|
|
|
ninja
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
cd build
|
|
|
|
export DESTDIR=%{buildroot}
|
|
|
|
ninja install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/lldb
|
|
|
|
%{_bindir}/lldb-*
|
2024-05-08 18:45:15 +02:00
|
|
|
%dir %{python3_sitearch}/lldb
|
|
|
|
%{python3_sitearch}/lldb/*
|
2024-01-06 06:25:49 +01:00
|
|
|
%{_prefix}/lib/lua/*/lldb.so
|
2024-01-06 06:25:48 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/liblldb.so.*
|
|
|
|
%{_libdir}/liblldbIntelFeatures.so.*
|
2024-01-06 06:25:51 +01:00
|
|
|
%doc lldb/LICENSE.TXT
|
2024-01-06 06:25:48 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/lldb
|
|
|
|
%{_includedir}/lldb/*
|
|
|
|
%{_libdir}/liblldb.so
|
|
|
|
%{_libdir}/liblldbIntelFeatures.so
|
|
|
|
#%doc README.txt
|
|
|
|
|
|
|
|
#%files -n lib%{name}-apidocs
|
|
|
|
#%defattr(-,root,root)
|
|
|
|
#%dir %{_docdir}/lldb
|
|
|
|
#%{_docdir}/lldb/*
|
|
|
|
|
|
|
|
%changelog
|
2024-12-19 12:20:40 +01:00
|
|
|
* Wed Dec 18 2024 Automatic Build System <autodist@openmamba.org> 19.1.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-12-04 21:03:21 +01:00
|
|
|
* Tue Dec 03 2024 Automatic Build System <autodist@openmamba.org> 19.1.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-11-21 13:56:21 +01:00
|
|
|
* Tue Nov 19 2024 Automatic Build System <autodist@openmamba.org> 19.1.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-11-02 11:33:59 +01:00
|
|
|
* Wed Oct 30 2024 Automatic Build System <autodist@openmamba.org> 19.1.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-10-17 21:52:11 +02:00
|
|
|
* Tue Oct 15 2024 Automatic Build System <autodist@openmamba.org> 19.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-10-06 21:08:13 +02:00
|
|
|
* Wed Oct 02 2024 Automatic Build System <autodist@openmamba.org> 19.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Sep 22 2024 Automatic Build System <autodist@openmamba.org> 19.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-06-27 18:47:18 +02:00
|
|
|
* Sat Jun 22 2024 Automatic Build System <autodist@openmamba.org> 18.1.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-06-08 14:55:59 +02:00
|
|
|
* Fri Jun 07 2024 Automatic Build System <autodist@openmamba.org> 18.1.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-05-22 21:28:57 +02:00
|
|
|
* Sun May 19 2024 Automatic Build System <autodist@openmamba.org> 18.1.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-05-08 18:45:15 +02:00
|
|
|
* Sat May 04 2024 Automatic Build System <autodist@openmamba.org> 18.1.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-04-20 11:54:48 +02:00
|
|
|
* Thu Apr 18 2024 Automatic Build System <autodist@openmamba.org> 18.1.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-04-13 13:49:49 +02:00
|
|
|
* Sat Apr 06 2024 Automatic Build System <autodist@openmamba.org> 18.1.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-22 17:12:05 +01:00
|
|
|
* Wed Mar 20 2024 Automatic Build System <autodist@openmamba.org> 18.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-19 19:47:47 +01:00
|
|
|
* Thu Mar 14 2024 Automatic Build System <autodist@openmamba.org> 18.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:25:56 +01:00
|
|
|
* Wed Nov 29 2023 Automatic Build System <autodist@mambasoft.it> 17.0.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:25:55 +01:00
|
|
|
* Tue Nov 14 2023 Automatic Build System <autodist@mambasoft.it> 17.0.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:25:54 +01:00
|
|
|
* Tue Oct 31 2023 Automatic Build System <autodist@mambasoft.it> 17.0.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:25:53 +01:00
|
|
|
* Fri Oct 20 2023 Automatic Build System <autodist@mambasoft.it> 17.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:25:52 +01:00
|
|
|
* Wed Jun 14 2023 Automatic Build System <autodist@mambasoft.it> 16.0.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:25:52 +01:00
|
|
|
* Tue Jun 06 2023 Automatic Build System <autodist@mambasoft.it> 16.0.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:25:51 +01:00
|
|
|
* Sun May 21 2023 Automatic Build System <autodist@mambasoft.it> 16.0.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:25:50 +01:00
|
|
|
* Thu Jan 12 2023 Automatic Build System <autodist@mambasoft.it> 15.0.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:25:49 +01:00
|
|
|
* Sun Jan 01 2023 Automatic Build System <autodist@mambasoft.it> 15.0.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:25:49 +01:00
|
|
|
* Sat Nov 26 2022 Automatic Build System <autodist@mambasoft.it> 15.0.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:25:49 +01:00
|
|
|
* Sat Jun 25 2022 Automatic Build System <autodist@mambasoft.it> 14.0.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:25:49 +01:00
|
|
|
* Sat Jun 11 2022 Automatic Build System <autodist@mambasoft.it> 14.0.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:25:49 +01:00
|
|
|
* Sat May 28 2022 Automatic Build System <autodist@mambasoft.it> 14.0.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:25:49 +01:00
|
|
|
* Mon May 02 2022 Automatic Build System <autodist@mambasoft.it> 14.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:25:49 +01:00
|
|
|
* Thu Feb 03 2022 Automatic Build System <autodist@mambasoft.it> 13.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:25:49 +01:00
|
|
|
* Sat Oct 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 13.0.0-1mamba
|
|
|
|
- update to 13.0.0
|
|
|
|
|
2024-01-06 06:25:49 +01:00
|
|
|
* Mon Jan 18 2021 Automatic Build System <autodist@mambasoft.it> 11.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:25:48 +01:00
|
|
|
* Tue Oct 13 2020 Automatic Build System <autodist@mambasoft.it> 11.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:25:48 +01:00
|
|
|
* Sat Jul 25 2020 Automatic Build System <autodist@mambasoft.it> 10.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:25:48 +01:00
|
|
|
* Mon Mar 30 2020 Automatic Build System <autodist@mambasoft.it> 10.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:25:48 +01:00
|
|
|
* Sun Feb 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 9.0.1-3mamba
|
|
|
|
- lldb rebuilt as standalone package from llvm
|
|
|
|
|
|
|
|
* Tue Jan 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 9.0.1-2mamba
|
|
|
|
- rebuild with -DLLVM_ENABLE_LTO=Thin
|
|
|
|
|
|
|
|
* Mon Dec 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 9.0.1-1mamba
|
|
|
|
- update to 9.0.1
|
|
|
|
|
|
|
|
* Thu Mar 28 2019 Automatic Build System <autodist@mambasoft.it> 8.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Jan 26 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 7.0.1-4mamba
|
|
|
|
- bump release
|
|
|
|
|
|
|
|
* Sat Jan 26 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 7.0.1-3mamba
|
|
|
|
- move *.so from libllvm-devel to libllvm
|
|
|
|
|
|
|
|
* Mon Jan 21 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 7.0.1-2mamba
|
|
|
|
- rebuilt with binutils plugin LLVMgold.so
|
|
|
|
|
|
|
|
* Sat Dec 22 2018 Automatic Build System <autodist@mambasoft.it> 7.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Oct 14 2018 Automatic Build System <autodist@mambasoft.it> 7.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Sep 02 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.1-4mamba
|
|
|
|
- remove building with libc++ to fix e.g. Mesa build
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.1-3mamba
|
|
|
|
- rebuilt wth LLVM_ENABLE_LIBCXX=ON
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.1-2mamba
|
|
|
|
- rebuilt with libc++
|
|
|
|
|
|
|
|
* Sat Jul 07 2018 Automatic Build System <autodist@mambasoft.it> 6.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Jun 25 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.0-4mamba
|
|
|
|
- rebuilt with gcc 8.1.0
|
|
|
|
|
|
|
|
* Sun Jun 24 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.0-3mamba
|
|
|
|
- apply patches from Arch to possibly fix lld segfault
|
|
|
|
|
|
|
|
* Sat Jun 23 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.0-2mamba
|
|
|
|
- rebuilt with standard target libdir and other changes to try fixing lld crash with at least chromium build
|
|
|
|
|
|
|
|
* Tue Jun 19 2018 Automatic Build System <autodist@mambasoft.it> 6.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Dec 25 2017 Automatic Build System <autodist@mambasoft.it> 5.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Nov 28 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.0-2mamba
|
|
|
|
- fix link against libllvm by changing and extending build arguments and external llvm subpackages
|
|
|
|
|
|
|
|
* Tue Nov 28 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.0-1mamba
|
|
|
|
- update to 5.0.0
|
|
|
|
|
|
|
|
* Wed Jul 13 2016 Automatic Build System <autodist@mambasoft.it> 3.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Jun 11 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.0-3mamba
|
|
|
|
- rebuilt using cmake
|
|
|
|
|
|
|
|
* Sat May 28 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.0-2mamba
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu May 26 2016 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jan 18 2015 Automatic Build System <autodist@mambasoft.it> 3.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Sep 19 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.0-2mamba
|
|
|
|
- patch llvm-config for x86_64 support and %{_libdir}/llvm
|
|
|
|
|
|
|
|
* Wed Sep 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.0-1mamba
|
|
|
|
- update to 3.5.0
|
|
|
|
|
|
|
|
* Thu Jul 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.2-1mamba
|
|
|
|
- update to 3.4.2
|
|
|
|
|
|
|
|
* Sun Feb 16 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4-2mamba
|
|
|
|
- fix configure settings and add --with-extra-ld-options to correctly link and
|
|
|
|
pass --with-arch=%{_target_cpu} to fix penmamba bug #000163
|
|
|
|
|
|
|
|
* Sun Jan 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4-1mamba
|
|
|
|
- update to 3.4
|
|
|
|
|
|
|
|
* Thu Jun 20 2013 Automatic Build System <autodist@mambasoft.it> 3.3-1mamba
|
|
|
|
- update to 3.3
|
|
|
|
|
|
|
|
* Sat Dec 22 2012 Automatic Build System <autodist@mambasoft.it> 3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jul 20 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1-1mamba
|
|
|
|
- update to 3.1
|
|
|
|
|
|
|
|
* Thu Feb 23 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 3.0.-1mamba
|
|
|
|
- update to 3.0
|
|
|
|
|
|
|
|
* Sun Jul 10 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9-1mamba
|
|
|
|
- update to 2.9
|
|
|
|
|
|
|
|
* Sat Jan 01 2011 Davide Madrisan <davide.madrisan@gmail.com> 2.8-1mamba
|
|
|
|
- package created by autospec
|