riscv64: exclude packaging non-supported liborc_rt.a

Riscv doesn't in ALL_ORC_SUPPORTED_ARCH yet.

(cherry picked from commit e8c406c4fc0f06828958e8d0d737e12349645bef)
This commit is contained in:
laokz 2025-02-17 21:50:57 +08:00 committed by openeuler-sync-bot
parent 3818ddb3e1
commit 19b6472f53

View File

@ -149,7 +149,7 @@
#region main package #region main package
Name: llvm-toolset-%{maj_ver} Name: llvm-toolset-%{maj_ver}
Version: %{maj_ver}.%{min_ver}.%{patch_ver} Version: %{maj_ver}.%{min_ver}.%{patch_ver}
Release: 1 Release: 2
Summary: The Low Level Virtual Machine Summary: The Low Level Virtual Machine
License: NCSA License: NCSA
@ -2484,7 +2484,7 @@ fi
%{install_libdir}/clang/%{maj_ver}/lib/%{compiler_rt_triple}/clang_rt.crtend.o %{install_libdir}/clang/%{maj_ver}/lib/%{compiler_rt_triple}/clang_rt.crtend.o
%endif %endif
%ifnarch %{ix86} s390x %ifnarch %{ix86} s390x riscv64
%{install_libdir}/clang/%{maj_ver}/lib/%{compiler_rt_triple}/liborc_rt.a %{install_libdir}/clang/%{maj_ver}/lib/%{compiler_rt_triple}/liborc_rt.a
%endif %endif
@ -2763,5 +2763,8 @@ fi
#endregion files #endregion files
%changelog %changelog
* Mon Feb 17 2025 laokz <zhangkai@iscas.ac.cn> - 18.1.8-2
- riscv64: exclude packaging non-supported liborc_rt.a
* Mon Feb 10 2025 liyunfei <liyunfei33@huawei.com> - 18.1.8-1 * Mon Feb 10 2025 liyunfei <liyunfei33@huawei.com> - 18.1.8-1
- Package init - Package init