Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
f278552b4c
!12 adopt to new cmake macro
From: @fundawang 
Reviewed-by: @liyunfei33 
Signed-off-by: @liyunfei33
2024-11-18 02:17:05 +00:00
Funda Wang
6b1bd085ee adopt to new cmake macro 2024-11-13 12:50:59 +08:00
openeuler-ci-bot
75bb152e04
!9 Add BiSheng Autotuner support
From: @liyunfei33 
Reviewed-by: @cf-zhao 
Signed-off-by: @cf-zhao
2024-08-21 03:01:49 +00:00
liyunfei
69dca12cea Add BiSheng Autotuner support
Signed-off-by: liyunfei <liyunfei33@huawei.com>
2024-08-20 20:25:10 +08:00
openeuler-ci-bot
a0282fa8ec
!7 Update to 17.0.6
From: @zj94 
Reviewed-by: @liyunfei33, @cf-zhao 
Signed-off-by: @cf-zhao
2024-01-04 09:16:04 +00:00
zhoujing
e425251e1f Update to 17.0.6
1. Change version
2. Use llvm-cmake-utils package
2023-12-08 15:23:21 +08:00
openeuler-ci-bot
3258ed9d56
!5 update-to-15.0.7
From: @cf-zhao 
Reviewed-by: @caodongxia, @eastb233 
Signed-off-by: @caodongxia, @eastb233
2023-07-19 06:49:56 +00:00
cf_zhao
ef1a8266d4 upgrade lldb to 15.0.7 2023-07-17 14:33:37 +08:00
openeuler-ci-bot
7e8cf37df6
!4 [sync] PR-3: upgrade lldb to 12.0.1
From: @openeuler-sync-bot 
Reviewed-by: @overweight 
Signed-off-by: @overweight
2022-03-30 06:14:19 +00:00
chen-jan
c06a9997fd upgrade lldb to 12.0.1
(cherry picked from commit ba8aa74a7aeac8d92cbef4d7d4ffb381e920e105)
2022-03-30 10:56:21 +08:00
5 changed files with 82 additions and 80 deletions

View File

@ -1,24 +1,8 @@
# lldb # lldb
#### Description #### Description
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**} The LLDB project builds on libraries provided by LLVM and Clang to provide a great native debugger. It uses the Clang ASTs and expression parser, LLVM JIT, LLVM disassembler, etc so that it provides an experience that "just works". It is also blazing fast and much more memory efficient than GDB at loading symbols.
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository 1. Fork the repository
2. Create Feat_xxx branch 2. Create Feat_xxx branch

View File

@ -1,25 +1,7 @@
# lldb # lldb
#### 介绍 #### 介绍
{**以下是码云平台说明,您可以替换此简介** The LLDB project builds on libraries provided by LLVM and Clang to provide a great native debugger. It uses the Clang ASTs and expression parser, LLVM JIT, LLVM disassembler, etc so that it provides an experience that "just works". It is also blazing fast and much more memory efficient than GDB at loading symbols.
码云是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN。专为开发者提供稳定、高效、安全的云端软件开发协作平台
无论是个人、团队、或是企业,都能够用码云实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献 #### 参与贡献

View File

@ -1,15 +1,32 @@
%undefine __cmake_in_source_build
%bcond_without bisheng_autotuner
Name: lldb Name: lldb
Version: 10.0.1 Version: 17.0.6
Release: 1 Release: 3
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/
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{name}-%{version}.src.tar.xz Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{name}-%{version}.src.tar.xz
BuildRequires: cmake llvm-devel = %{version} llvm-test = %{version} clang-devel = %{version} BuildRequires: gcc
BuildRequires: ncurses-devel swig llvm-static = %{version} libffi-devel zlib-devel BuildRequires: gcc-c++
BuildRequires: libxml2-devel libedit-devel python3-lit BuildRequires: cmake
BuildRequires: clang
BuildRequires: llvm-devel = %{version}
BuildRequires: llvm-test = %{version}
BuildRequires: clang-devel = %{version}
BuildRequires: clang-tools-extra = %{version}
BuildRequires: ncurses-devel
BuildRequires: swig
BuildRequires: llvm-static = %{version}
BuildRequires: libffi-devel
BuildRequires: zlib-devel
BuildRequires: libxml2-devel
BuildRequires: libedit-devel
BuildRequires: python3-lit
BuildRequires: multilib-rpm-config
Requires: python3-lldb Requires: python3-lldb
@ -21,7 +38,7 @@ disassembler.
%package devel %package devel
Summary: Development header files for LLDB Summary: Development header files for LLDB
Requires: %{name} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel %description devel
The package contains header files for the LLDB debugger. The package contains header files for the LLDB debugger.
@ -30,7 +47,10 @@ The package contains header files for the LLDB debugger.
%{?python_provide:%python_provide python3-lldb} %{?python_provide:%python_provide python3-lldb}
Summary: Python module for LLDB Summary: Python module for LLDB
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3-six Requires: python3-six
Requires: %{name}%{?_isa} = %{version}-%{release}
BuildRequires: llvm-cmake-utils = %{version}
%description -n python3-lldb %description -n python3-lldb
The package contains the LLDB Python module. The package contains the LLDB Python module.
@ -40,17 +60,15 @@ The package contains the LLDB Python module.
%build %build
mkdir -p _build
cd _build
# Python version detection is broken # Python version detection is broken
LDFLAGS="%{__global_ldflags} -lpthread -ldl" LDFLAGS="%{build_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 \
-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} \
\ \
@ -61,6 +79,9 @@ CXXFLAGS="%{optflags} -Wno-error=format-security"
-DLLVM_LIBDIR_SUFFIX=64 \ -DLLVM_LIBDIR_SUFFIX=64 \
%else %else
-DLLVM_LIBDIR_SUFFIX= \ -DLLVM_LIBDIR_SUFFIX= \
%endif
%if %{with bisheng_autotuner}
-DLLVM_ENABLE_AUTOTUNER=ON \
%endif %endif
\ \
-DPYTHON_EXECUTABLE:STRING=%{__python3} \ -DPYTHON_EXECUTABLE:STRING=%{__python3} \
@ -68,14 +89,14 @@ CXXFLAGS="%{optflags} -Wno-error=format-security"
-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 \
-DLLVM_COMMON_CMAKE_UTILS=%{_datadir}/llvm/cmake \
-DLLVM_LIT_ARGS="-sv \ -DLLVM_LIT_ARGS="-sv \
--path %{_libdir}/llvm" \ --path %{_libdir}/llvm" \
make %{?_smp_mflags} %cmake_build
%install %install
cd _build %cmake_install
make install DESTDIR=%{buildroot}
# remove static libraries # remove static libraries
rm -fv %{buildroot}%{_libdir}/*.a rm -fv %{buildroot}%{_libdir}/*.a
@ -88,9 +109,8 @@ ln -vsf "../../../${liblldb}" %{buildroot}%{python3_sitearch}/lldb/_lldb.so
# remove bundled six.py # remove bundled six.py
rm -f %{buildroot}%{python3_sitearch}/six.* rm -f %{buildroot}%{python3_sitearch}/six.*
%ldconfig_scriptlets
%files %files
%license LICENSE.TXT
%{_bindir}/lldb* %{_bindir}/lldb*
%{_libdir}/liblldb.so.* %{_libdir}/liblldb.so.*
%{_libdir}/liblldbIntelFeatures.so.* %{_libdir}/liblldbIntelFeatures.so.*
@ -103,7 +123,23 @@ rm -f %{buildroot}%{python3_sitearch}/six.*
%{python3_sitearch}/lldb %{python3_sitearch}/lldb
%changelog %changelog
* Wed Nov 13 2024 Funda Wang <fundawang@yeah.net> - 17.0.6-3
- adopt to new cmake macro
* Tue Aug 20 2024 liyunfei <liyunfei33@huawei.com> - 17.0.6-2
- Add BiSheng Autotuner support.
* Mon Dec 4 2023 zhoujing <zhoujing@huawei.com> 17.0.6-1
- upgrade lldb to 17.0.6
* Mon Jul 17 2023 cf-zhao <zhaochuanfeng@huawei.com> 15.0.7-1
- upgrade lldb to 15.0.7
* Thu Jan 06 2022 Chen Chen <chen_aka_jan@163.com> - 12.0.1-1
- upgrade lldb to 12.0.1
* Mon Oct 12 2020 wangxiao <wangxiao65@huawei.com> - 10.0.1-1 * Mon Oct 12 2020 wangxiao <wangxiao65@huawei.com> - 10.0.1-1
- upgrade lldb to 10.0.1 - upgrade lldb to 10.0.1
* Mon Dec 2 2019 likexin <likexin@huawei.com> 7.0.0-2 * Mon Dec 2 2019 likexin <likexin@huawei.com> 7.0.0-2
- Package init - Package init

View File

@ -1,4 +1,4 @@
version_control: github version_control: github
src_repo: llvm/llvm-project src_repo: llvm/llvm-project
tag_prefix: ^llvmorg- tag_prefix: ^llvmorg-
seperator: . separator: .