!63 riscv64: 不打包libbolt_rt_instr.a
From: @laokz Reviewed-by: @li-yancheng Signed-off-by: @li-yancheng
This commit is contained in:
commit
33f89e2665
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: %{bolt_version}
|
Version: %{bolt_version}
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: BOLT is a post-link optimizer developed to speed up large applications
|
Summary: BOLT is a post-link optimizer developed to speed up large applications
|
||||||
License: Apache 2.0
|
License: Apache 2.0
|
||||||
URL: https://github.com/llvm/llvm-project/tree/main/bolt
|
URL: https://github.com/llvm/llvm-project/tree/main/bolt
|
||||||
@ -145,7 +145,9 @@ rm -f %{buildroot}/%{_builddir}/%{bolt_srcdir}/%{_vpath_builddir}/%{_lib}/lib*.a
|
|||||||
%{install_bindir}/perf2bolt
|
%{install_bindir}/perf2bolt
|
||||||
%{install_bindir}/llvm-bolt-heatmap
|
%{install_bindir}/llvm-bolt-heatmap
|
||||||
|
|
||||||
|
%ifnarch riscv64
|
||||||
%{install_libdir}/libbolt_rt_instr.a
|
%{install_libdir}/libbolt_rt_instr.a
|
||||||
|
%endif
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%{install_libdir}/libbolt_rt_hugify.a
|
%{install_libdir}/libbolt_rt_hugify.a
|
||||||
%endif
|
%endif
|
||||||
@ -156,6 +158,12 @@ rm -f %{buildroot}/%{_builddir}/%{bolt_srcdir}/%{_vpath_builddir}/%{_lib}/lib*.a
|
|||||||
%doc %{install_docdir}
|
%doc %{install_docdir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 09 2024 laokz <zhangkai@iscas.ac.cn> 17.0.6-3
|
||||||
|
- Type:fix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC: riscv64: exclude non-exist libbolt_rt_instr.a
|
||||||
|
|
||||||
* Thu Nov 21 2024 rfwang07 <wangrufeng5@huawei.com> 17.0.6-2
|
* Thu Nov 21 2024 rfwang07 <wangrufeng5@huawei.com> 17.0.6-2
|
||||||
- Type:backport
|
- Type:backport
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user