import lldb-11.0.0-1.module+el8.4.0+8598+a071fcd5
This commit is contained in:
parent
f6e9c72eb4
commit
4fbb6048dc
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,2 @@
|
|||||||
SOURCES/hans-gpg-key.asc
|
SOURCES/hans-gpg-key.asc
|
||||||
SOURCES/lldb-10.0.1.src.tar.xz
|
SOURCES/lldb-11.0.0.src.tar.xz
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
32fa4b0193960f05064f2ab31b5a89c7cf48a0b9 SOURCES/hans-gpg-key.asc
|
32fa4b0193960f05064f2ab31b5a89c7cf48a0b9 SOURCES/hans-gpg-key.asc
|
||||||
90b946ff7b850bcded598509a10d0795e7da3f63 SOURCES/lldb-10.0.1.src.tar.xz
|
6bdb22e6b5e4700269f23452d66b0bddee93e008 SOURCES/lldb-11.0.0.src.tar.xz
|
||||||
|
Binary file not shown.
BIN
SOURCES/lldb-11.0.0.src.tar.xz.sig
Normal file
BIN
SOURCES/lldb-11.0.0.src.tar.xz.sig
Normal file
Binary file not shown.
@ -2,23 +2,24 @@
|
|||||||
%global baserelease 1
|
%global baserelease 1
|
||||||
%global lldb_srcdir %{name}-%{version}%{?rc_ver:rc%{rc_ver}}.src
|
%global lldb_srcdir %{name}-%{version}%{?rc_ver:rc%{rc_ver}}.src
|
||||||
|
|
||||||
|
# Too many threads causes OOM errors.
|
||||||
|
%global _smp_mflags -j8
|
||||||
|
|
||||||
Name: lldb
|
Name: lldb
|
||||||
Version: 10.0.1
|
Version: 11.0.0
|
||||||
Release: %{baserelease}%{?rc_ver:.rc%{rc_ver}}%{?dist}
|
Release: %{baserelease}%{?rc_ver:.rc%{rc_ver}}%{?dist}
|
||||||
Summary: Next generation high-performance debugger
|
Summary: Next generation high-performance debugger
|
||||||
|
|
||||||
License: NCSA
|
License: NCSA
|
||||||
URL: http://lldb.llvm.org/
|
URL: http://lldb.llvm.org/
|
||||||
%if 0%{?rc_ver:1}
|
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{lldb_srcdir}.tar.xz
|
||||||
Source0: https://prereleases.llvm.org/%{version}/rc%{rc_ver}/%{lldb_srcdir}.tar.xz
|
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{lldb_srcdir}.tar.xz.sig
|
||||||
Source1: https://prereleases.llvm.org/%{version}/rc%{rc_ver}/%{lldb_srcdir}.tar.xz.sig
|
|
||||||
%else
|
|
||||||
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{lldb_srcdir}.tar.xz
|
|
||||||
Source3: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{lldb_srcdir}.tar.xz.sig
|
|
||||||
%endif
|
|
||||||
Source2: https://prereleases.llvm.org/%{version}/hans-gpg-key.asc
|
Source2: https://prereleases.llvm.org/%{version}/hans-gpg-key.asc
|
||||||
|
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
BuildRequires: ninja-build
|
||||||
BuildRequires: llvm-devel = %{version}
|
BuildRequires: llvm-devel = %{version}
|
||||||
BuildRequires: llvm-test = %{version}
|
BuildRequires: llvm-test = %{version}
|
||||||
BuildRequires: clang-devel = %{version}
|
BuildRequires: clang-devel = %{version}
|
||||||
@ -30,7 +31,7 @@ BuildRequires: zlib-devel
|
|||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: libedit-devel
|
BuildRequires: libedit-devel
|
||||||
BuildRequires: python3-lit
|
BuildRequires: python3-lit
|
||||||
BuildRequires: multilib-rpm-config
|
BuildRequires: multilib-rpm-config
|
||||||
|
|
||||||
Requires: python3-lldb
|
Requires: python3-lldb
|
||||||
|
|
||||||
@ -52,6 +53,7 @@ The package contains header files for the LLDB debugger.
|
|||||||
Summary: Python module for LLDB
|
Summary: Python module for LLDB
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
Requires: python3-six
|
Requires: python3-six
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description -n python3-lldb
|
%description -n python3-lldb
|
||||||
The package contains the LLDB Python module.
|
The package contains the LLDB Python module.
|
||||||
@ -64,14 +66,15 @@ The package contains the LLDB Python module.
|
|||||||
mkdir -p _build
|
mkdir -p _build
|
||||||
cd _build
|
cd _build
|
||||||
|
|
||||||
# Python version detection is broken
|
## Python version detection is broken
|
||||||
LDFLAGS="%{__global_ldflags} -lpthread -ldl"
|
#LDFLAGS="%{__global_ldflags} -lpthread -ldl"
|
||||||
|
|
||||||
CFLAGS="%{optflags} -Wno-error=format-security"
|
CFLAGS="%{optflags} -Wno-error=format-security"
|
||||||
CXXFLAGS="%{optflags} -Wno-error=format-security"
|
CXXFLAGS="%{optflags} -Wno-error=format-security"
|
||||||
|
|
||||||
%cmake .. \
|
%cmake .. -GNinja \
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
|
-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} \
|
||||||
\
|
\
|
||||||
@ -92,11 +95,11 @@ CXXFLAGS="%{optflags} -Wno-error=format-security"
|
|||||||
-DLLVM_LIT_ARGS="-sv \
|
-DLLVM_LIT_ARGS="-sv \
|
||||||
--path %{_libdir}/llvm" \
|
--path %{_libdir}/llvm" \
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
%ninja_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd _build
|
cd _build
|
||||||
make install DESTDIR=%{buildroot}
|
%ninja_install
|
||||||
|
|
||||||
%multilib_fix_c_header --file %{_includedir}/lldb/Host/Config.h
|
%multilib_fix_c_header --file %{_includedir}/lldb/Host/Config.h
|
||||||
|
|
||||||
@ -113,7 +116,11 @@ rm -f %{buildroot}%{python3_sitearch}/six.*
|
|||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%check
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%license LICENSE.TXT
|
||||||
%{_bindir}/lldb*
|
%{_bindir}/lldb*
|
||||||
%{_libdir}/liblldb.so.*
|
%{_libdir}/liblldb.so.*
|
||||||
%{_libdir}/liblldbIntelFeatures.so.*
|
%{_libdir}/liblldbIntelFeatures.so.*
|
||||||
@ -126,6 +133,12 @@ rm -f %{buildroot}%{python3_sitearch}/six.*
|
|||||||
%{python3_sitearch}/lldb
|
%{python3_sitearch}/lldb
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 29 2020 sguelton@redhat.com - 11.0.0-1
|
||||||
|
- 11.0.0 final
|
||||||
|
|
||||||
|
* Fri Sep 18 2020 sguelton@redhat.com - 11.0.0-0.1.rc2
|
||||||
|
- 11.0.0-rc2 Release
|
||||||
|
|
||||||
* Fri Jul 24 2020 sguelton@redhat.com - 10.0.1-1
|
* Fri Jul 24 2020 sguelton@redhat.com - 10.0.1-1
|
||||||
- 10.0.1
|
- 10.0.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user