fix pmu cmake build option error

(cherry picked from commit e197d8afbcb1f9f77578515c6fa8d2d3cde601c8)
This commit is contained in:
fly_1997 2024-07-16 16:19:34 +08:00 committed by openeuler-sync-bot
parent 87e271766a
commit 88efdecdb1

View File

@ -1,6 +1,6 @@
Name: oeAware-collector
Version: v1.0.2
Release: 8
Release: 9
Summary: %{name} provides low-overhead metrics collection capabilities, including microarchitecture, system, and kernel information.
License: MulanPSL2
URL: https://gitee.com/openeuler/%{name}
@ -55,7 +55,7 @@ mkdir build
cd build
cmake .. -DLIB_KPERF_LIBPATH=%{_builddir}/%{name}-%{version}/pmu/3rdlib/bin/ \
-DLIB_KPERF_INCPATH=%{_builddir}/%{name}-%{version}/pmu/3rdlib/include/ \
-DCMAKE_SKIP_RPATH=TRUE -WITH_DEBUG=TRUE
-DCMAKE_SKIP_RPATH=TRUE -DWITH_DEBUG=TRUE
make
%endif
@ -85,6 +85,9 @@ install -b -m740 ./thread_collector/build/libthread_collector.so ${RPM_BUIL
%attr(0440, root, root) %{_libdir}/oeAware-plugin/libthread_collector.so
%changelog
* Tue Jul 16 2024 fly_1997 <flylove7@outlook.com> - v1.0.2-9
- fix pmu cmake build option error
* Tue Jul 16 2024 Zhao Mengmeng <zhaomengmeng@kylinos.cn> - v1.0.2-8
- explicit add libboundscheck as Requires