fix pmu cmake build option error
(cherry picked from commit e197d8afbcb1f9f77578515c6fa8d2d3cde601c8)
This commit is contained in:
parent
87e271766a
commit
88efdecdb1
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user