Name: D-FOT Version: v1.0.2 Release: 1 Summary: %{name} is a dynamic feedback-directed optimization tool for openEuler. License: Mulan PSL v2 URL: https://gitee.com/openeuler/%{name} Source0: %{name}-%{version}.tar.gz BuildRequires: cmake make gcc-c++ BuildRequires: boost-devel log4cplus-devel numactl-devel libkperf-devel oeAware-manager-devel Requires: log4cplus boost libboundscheck oeAware-manager libkperf llvm-bolt ExclusiveArch: aarch64 %description %{name} is a dynamic feedback-directed optimization tool for openEuler. %prep %autosetup -n %{name}-%{version} -p1 %build mkdir build && cd build %{cmake} .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_SKIP_RPATH=TRUE make %install mkdir -p ${RPM_BUILD_ROOT}%{_libdir}/oeAware-plugin/ install -b -m740 ./build/libdfot.so ${RPM_BUILD_ROOT}%{_libdir}/oeAware-plugin/ mkdir -p ${RPM_BUILD_ROOT}/etc/dfot install -D -m 0640 ./configs/dfot.ini ${RPM_BUILD_ROOT}/etc/dfot/ %files %defattr (-, root, root) %attr(0640,root,root) /etc/dfot/dfot.ini %attr(0440,root,root) %{_libdir}/oeAware-plugin/libdfot.so %changelog * Tue Dec 10 2024 rfwang07 - v1.0.2-1 - ID:NA - SUG:NA - DESC: fix pmudata processing bugs and add execution check * Tue Dec 3 2024 rfwang07 - v1.0.1-2 - ID:NA - SUG:NA - DESC: update libkperf dependence and adapt code for oeaware 2.0 * Wed Nov 27 2024 rfwang07 - v1.0.1-1 - ID:NA - SUG:NA - DESC: init D-FOT