fix build error on loongarch64

(cherry picked from commit 5b756578caef7fffeb93f9f84484690c3ba40744)
This commit is contained in:
Wenlong Zhang 2024-10-29 20:59:53 +08:00 committed by openeuler-sync-bot
parent b57d095879
commit ab768a2de2

View File

@ -1,12 +1,12 @@
Name: libipt
Version: 2.1
Release: 1
Release: 2
Summary: Intel(R) Processor Trace Decoder Library
License: BSD
URL: https://github.com/intel/libipt
Source0: https://github.com/intel/%{name}/archive/v%{version}.tar.gz
BuildRequires: gcc-c++ cmake
ExclusiveArch: %{ix86} x86_64
ExclusiveArch: %{ix86} x86_64 loongarch64
%description
The Intel Processor Trace (Intel PT) Decoder Library is Intel's reference
@ -51,6 +51,9 @@ ctest -V %{?_smp_mflags}
%{_libdir}/%{name}.so
%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
- Upgrade to 2.1:
- a new tool 'ptseg' for finding the PSB segment for a given offset.