diff --git a/README.en.md b/README.en.md index c2a5f8e9b570381bd836db6a410fc622c6ebe21b..5a4383ae38912a2256f43dc831a35c3d6b220592 100644 --- a/README.en.md +++ b/README.en.md @@ -1,36 +1,3 @@ # lldb-latest -#### Description -Next generation high-performance debugger - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) +This multiversion branch has been deprecated, using [llvm-toolset-18](https://gitee.com/src-openeuler/llvm-toolset-18) instead. diff --git a/README.md b/README.md index 257efeb716cf0170ce7add2ff7d2ce8a8513bd0b..a4e48d5197a6ccb205c2467a130c331ba3b3c935 100644 --- a/README.md +++ b/README.md @@ -1,37 +1,3 @@ # lldb-latest -#### 介绍 -Next generation high-performance debugger - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 -5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) +该多版本分支已废弃, 使用 [llvm-toolset-18](https://gitee.com/src-openeuler/llvm-toolset-18) 替代. diff --git a/lldb-18.1.8.src.tar.xz b/lldb-18.1.8.src.tar.xz deleted file mode 100644 index 812573ba4a6e5ce740e94043a210ff85f4ee321d..0000000000000000000000000000000000000000 Binary files a/lldb-18.1.8.src.tar.xz and /dev/null differ diff --git a/lldb.spec b/lldb.spec deleted file mode 100644 index b2fff470497fa7b6101839c74b736f6c6e684caf..0000000000000000000000000000000000000000 --- a/lldb.spec +++ /dev/null @@ -1,191 +0,0 @@ -%bcond_without toolchain_clang - -%if %{with toolchain_clang} -%global toolchain clang -%endif - -%global maj_ver 18 -%global min_ver 1 -%global patch_ver 8 -%global lldb_version %{maj_ver}.%{min_ver}.%{patch_ver} - -%global _scl_prefix /opt/openEuler -%{?scl:%scl_package %scl} -%{!?scl:%global scl_prefix llvm-toolset-%{maj_ver}-} -%{!?scl:%global pkg_name %{name}} -%global install_prefix %{!?scl:%{_scl_prefix}/llvm-toolset-%{maj_ver}/root}%{_prefix} -%global install_datadir %{!?scl:%{_scl_prefix}/llvm-toolset-%{maj_ver}/root}%{_datadir} - -%global install_bindir %{install_prefix}/bin -%global install_includedir %{install_prefix}/include -%if 0%{?__isa_bits} == 64 -%global install_libdir %{install_prefix}/lib64 -%else -%global install_libdir %{install_prefix}/lib -%endif -%global install_libexecdir %{install_prefix}/libexec -%global install_sharedir %{install_prefix}/share -%global install_docdir %{install_sharedir}/doc - -Name: %{?scl_prefix}lldb -Version: %{lldb_version} -Release: 1 -Summary: Next generation high-performance debugger - -License: NCSA -URL: http://lldb.llvm.org/ -Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/lldb-%{version}.src.tar.xz - -BuildRequires: gcc -BuildRequires: gcc-c++ -BuildRequires: cmake -BuildRequires: ninja-build -BuildRequires: %{?scl_prefix}clang -BuildRequires: %{?scl_prefix}llvm-devel = %{version} -BuildRequires: %{?scl_prefix}llvm-test = %{version} -BuildRequires: %{?scl_prefix}clang-devel = %{version} -BuildRequires: %{?scl_prefix}clang-tools-extra = %{version} -BuildRequires: ncurses-devel -BuildRequires: swig -BuildRequires: %{?scl_prefix}llvm-static = %{version} -BuildRequires: libffi-devel -BuildRequires: zlib-devel -BuildRequires: libxml2-devel -BuildRequires: libedit-devel -BuildRequires: python3-lit -BuildRequires: multilib-rpm-config -%if %{with toolchain_clang} -BuildRequires: clang -%endif - -Requires: %{?scl_prefix}python3-lldb - -%description -LLDB is a next generation, high-performance debugger. It is built as a set -of reusable components which highly leverage existing libraries in the -larger LLVM Project, such as the Clang expression parser and LLVM -disassembler. - -%package devel -Summary: Development header files for LLDB -Requires: %{pkg_name}%{?_isa} = %{version}-%{release} - -%description devel -The package contains header files for the LLDB debugger. - -%package -n %{?scl_prefix}python3-lldb -%{?python_provide:%python_provide python3-lldb} -Summary: Python module for LLDB -BuildRequires: python3-devel -BuildRequires: python3-setuptools -Requires: python3-six -Requires: %{pkg_name}%{?_isa} = %{version}-%{release} -BuildRequires: %{?scl_prefix}llvm-cmake-utils = %{version} - -%description -n %{?scl_prefix}python3-lldb -The package contains the LLDB Python module. - -%prep -%autosetup -n lldb-%{version}.src -p2 - -%build - -# Python version detection is broken -LDFLAGS="%{__global_ldflags} -lpthread -ldl" - -CFLAGS="%{optflags} -Wno-error=format-security" -CXXFLAGS="%{optflags} -Wno-error=format-security" - -mkdir -p _build -cd _build -%cmake .. \ - -DCMAKE_INSTALL_PREFIX=%{install_prefix} \ - -DLLVM_COMMON_CMAKE_UTILS=%{install_datadir}/llvm/cmake \ - -DLLVM_MAIN_SRC_DIR=%{install_prefix}/src \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DCMAKE_SKIP_RPATH:BOOL=ON \ - -DLLVM_LINK_LLVM_DYLIB:BOOL=ON \ - -DLLVM_CONFIG:FILEPATH=/usr/bin/llvm-config-%{__isa_bits} \ - \ - -DLLDB_DISABLE_CURSES:BOOL=OFF \ - -DLLDB_DISABLE_LIBEDIT:BOOL=OFF \ - -DLLDB_DISABLE_PYTHON:BOOL=OFF \ -%if "%toolchain" == "clang" - -DCMAKE_C_COMPILER=clang \ - -DCMAKE_CXX_COMPILER=clang++ \ -%endif -%if 0%{?__isa_bits} == 64 - -DLLVM_LIBDIR_SUFFIX=64 \ -%else - -DLLVM_LIBDIR_SUFFIX= \ -%endif - \ - -DPYTHON_EXECUTABLE:STRING=%{__python3} \ - -DPYTHON_VERSION_MAJOR:STRING=$(%{__python3} -c "import sys; print(sys.version_info.major)") \ - -DPYTHON_VERSION_MINOR:STRING=$(%{__python3} -c "import sys; print(sys.version_info.minor)") \ - -DLLVM_EXTERNAL_LIT=%{_bindir}/lit \ - -DCLANG_LINK_CLANG_DYLIB=ON \ - -DLLVM_LIT_ARGS="-sv \ - --path %{install_libdir}/llvm" \ - -%make_build - -%install -cd _build -%make_install - -# remove static libraries -rm -fv %{buildroot}%{install_libdir}/*.a - -# python: fix binary libraries location -liblldb=$(basename $(readlink -e %{buildroot}%{install_libdir}/liblldb.so)) -mkdir -p %{buildroot}%{python3_sitearch} -mv %{buildroot}%{install_prefix}/..%{python3_sitearch}/lldb %{buildroot}%{python3_sitearch}/lldb -ln -vsf "../../../${liblldb}" %{buildroot}%{python3_sitearch}/lldb/_lldb.so -%py_byte_compile %{__python3} %{buildroot}%{python3_sitearch}/lldb - -# remove bundled six.py -rm -f %{buildroot}%{install_prefix}%{python3_sitearch}/six.* - -%ldconfig_scriptlets - -%check - - -%files -%license LICENSE.TXT -%{install_bindir}/lldb* -%{install_libdir}/liblldb.so.* -%{install_libdir}/liblldbIntelFeatures.so.* - -%files devel -%{install_includedir}/lldb -%{install_libdir}/*.so - -%files -n %{?scl_prefix}python3-lldb -%{python3_sitearch}/lldb - -%changelog -* Fri Dec 6 2024 liyunfei - 18.1.8-1 -- init for Multi-Version LLVM-18.1.8 - -* Wed Nov 13 2024 Funda Wang - 17.0.6-3 -- adopt to new cmake macro - -* Tue Aug 20 2024 liyunfei - 17.0.6-2 -- Add BiSheng Autotuner support. - -* Mon Dec 4 2023 zhoujing 17.0.6-1 -- upgrade lldb to 17.0.6 - -* Mon Jul 17 2023 cf-zhao 15.0.7-1 -- upgrade lldb to 15.0.7 - -* Thu Jan 06 2022 Chen Chen - 12.0.1-1 -- upgrade lldb to 12.0.1 - -* Mon Oct 12 2020 wangxiao - 10.0.1-1 -- upgrade lldb to 10.0.1 - -* Mon Dec 2 2019 likexin 7.0.0-2 -- Package init diff --git a/lldb.yaml b/lldb.yaml deleted file mode 100644 index c7c50f6ac87dd806f0574c6b3a4fd97b11d3e479..0000000000000000000000000000000000000000 --- a/lldb.yaml +++ /dev/null @@ -1,4 +0,0 @@ -version_control: github -src_repo: llvm/llvm-project -tag_prefix: ^llvmorg- -separator: .