!10 Update to 17.0.6
From: @zj94 Reviewed-by: @liyunfei33, @cf-zhao Signed-off-by: @cf-zhao
This commit is contained in:
commit
0143bceffa
22
README.en.md
22
README.en.md
@ -1,22 +1,8 @@
|
||||
# lld-15
|
||||
# lld
|
||||
|
||||
#### Description
|
||||
LLVM Linker
|
||||
|
||||
#### Software Architecture
|
||||
Software architecture description
|
||||
|
||||
#### Installation
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Instructions
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
This package contains library and header files needed to develop new native
|
||||
programs that use the LLD infrastructure.
|
||||
|
||||
#### Contribution
|
||||
|
||||
@ -33,4 +19,4 @@ Software architecture description
|
||||
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/)
|
||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
@ -19,4 +19,4 @@ programs that use the LLD infrastructure.
|
||||
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/)
|
||||
6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
Binary file not shown.
Binary file not shown.
BIN
lld-17.0.6.src.tar.xz
Normal file
BIN
lld-17.0.6.src.tar.xz
Normal file
Binary file not shown.
23
lld.spec
23
lld.spec
@ -1,18 +1,18 @@
|
||||
%bcond_with sys_llvm
|
||||
%bcond_with check
|
||||
%bcond_without sys_llvm
|
||||
%bcond_without check
|
||||
|
||||
%global maj_ver 12
|
||||
%global maj_ver 17
|
||||
%global min_ver 0
|
||||
%global patch_ver 1
|
||||
%global patch_ver 6
|
||||
|
||||
%if %{with sys_llvm}
|
||||
%global pkg_name lld
|
||||
%global bin_suffix %{nil}
|
||||
%global install_prefix %{_prefix}
|
||||
%global install_datadir %{_datadir}
|
||||
%else
|
||||
%global pkg_name lld%{maj_ver}
|
||||
%global bin_suffix -%{maj_ver}
|
||||
%global install_prefix %{_libdir}/llvm%{maj_ver}
|
||||
%global install_datadir %{install_prefix}/share
|
||||
%endif
|
||||
|
||||
%global install_bindir %{install_prefix}/bin
|
||||
@ -47,10 +47,12 @@ BuildRequires: cmake
|
||||
BuildRequires: llvm-devel = %{version}
|
||||
BuildRequires: llvm-googletest = %{version}
|
||||
BuildRequires: llvm-test = %{version}
|
||||
BuildRequires: llvm-cmake-utils = %{version}
|
||||
%else
|
||||
BuildRequires: llvm%{maj_ver}-devel = %{version}
|
||||
BuildRequires: llvm%{maj_ver}-googletest = %{version}
|
||||
BuildRequires: llvm%{maj_ver}-test = %{version}
|
||||
BuildRequires: llvm%{maj_ver}-cmake-utils = %{version}
|
||||
%endif
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: ninja-build
|
||||
@ -97,6 +99,7 @@ cd _build
|
||||
-DLLVM_EXTERNAL_LIT=%{_bindir}/lit \
|
||||
-DLLVM_LIT_ARGS="-sv \
|
||||
--path %{install_prefix}" \
|
||||
-DLLVM_COMMON_CMAKE_UTILS=%{install_datadir}/llvm/cmake \
|
||||
-DLLVM_MAIN_SRC_DIR=%{install_prefix}/src
|
||||
|
||||
%ninja_build
|
||||
@ -108,8 +111,7 @@ rm %{buildroot}%{install_includedir}/mach-o/compact_unwind_encoding.h
|
||||
|
||||
%check
|
||||
%if %{with check}
|
||||
cd _build
|
||||
%ninja_build check-lld
|
||||
%ninja_build check-lld -C _build
|
||||
%endif
|
||||
|
||||
%files
|
||||
@ -125,5 +127,8 @@ cd _build
|
||||
%{install_libdir}/liblld*.so.*
|
||||
|
||||
%changelog
|
||||
* Fri Dec 1 2023 zhoujing <zhoujing106@huawei.com> - 17.0.6-1
|
||||
- Update to 17.0.6
|
||||
|
||||
* Thu May 25 2023 cf-zhao <zhaochuanfeng@huawei.com> - 12.0.1-1
|
||||
- Package init
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user