!36 [sync] PR-35: fix build error on loongarch64

From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
This commit is contained in:
openeuler-ci-bot 2024-11-14 06:27:53 +00:00 committed by Gitee
commit 83e624d27d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,12 +1,12 @@
Name: libipt Name: libipt
Version: 2.1 Version: 2.1
Release: 1 Release: 2
Summary: Intel(R) Processor Trace Decoder Library Summary: Intel(R) Processor Trace Decoder Library
License: BSD License: BSD
URL: https://github.com/intel/libipt URL: https://github.com/intel/libipt
Source0: https://github.com/intel/%{name}/archive/v%{version}.tar.gz Source0: https://github.com/intel/%{name}/archive/v%{version}.tar.gz
BuildRequires: gcc-c++ cmake BuildRequires: gcc-c++ cmake
ExclusiveArch: %{ix86} x86_64 ExclusiveArch: %{ix86} x86_64 loongarch64
%description %description
The Intel Processor Trace (Intel PT) Decoder Library is Intel's reference The Intel Processor Trace (Intel PT) Decoder Library is Intel's reference
@ -51,6 +51,9 @@ ctest -V %{?_smp_mflags}
%{_libdir}/%{name}.so %{_libdir}/%{name}.so
%changelog %changelog
* Tue Oct 29 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 2.1-2
- fix build error on loongarch64
* Thu Jan 25 2024 liuchao <liuchao173@huawei.com> - 2.1-1 * Thu Jan 25 2024 liuchao <liuchao173@huawei.com> - 2.1-1
- Upgrade to 2.1: - Upgrade to 2.1:
- a new tool 'ptseg' for finding the PSB segment for a given offset. - a new tool 'ptseg' for finding the PSB segment for a given offset.