commit
e488d37b8b
Binary file not shown.
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
Name : prefetch_tuning
|
Name : prefetch_tuning
|
||||||
Summary : CPU prefetch tuning module for Kunpeng 920
|
Summary : CPU prefetch tuning module for Kunpeng 920
|
||||||
Version : 1.0
|
Version : 1.1
|
||||||
Release : 3
|
Release : 1
|
||||||
License : GPLv2
|
License : GPLv2
|
||||||
Source0 : %{kmod_name}-%{version}.tar.gz
|
Source0 : https://gitee.com/openeuler/prefetch_tuning/repository/archive/v%{version}.tar.gz
|
||||||
buildroot : %{_tmppath}/%{kmod_name}-%{version}-build
|
buildroot : %{_tmppath}/%{kmod_name}-%{version}-build
|
||||||
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
@ -19,7 +19,7 @@ Users can user this module to control CPU prefetch settings.
|
|||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n %{kmod_name}-%{version}
|
%setup -n %{kmod_name}
|
||||||
sed -i 's/EXTRA_CFLAGS += -Wall -Werror/EXTRA_CFLAGS += -Wall/g' Makefile
|
sed -i 's/EXTRA_CFLAGS += -Wall -Werror/EXTRA_CFLAGS += -Wall/g' Makefile
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -42,12 +42,13 @@ rm -rf %_builddir/%{kmod_name}-%{version}
|
|||||||
%pre
|
%pre
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
insmod /lib/modules/%{kmod_name}/%{kmod_name}.ko
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
rmmod prefetch_tuning
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 7 2020 Zhipeng Xie <xiezhipeng1@huawei.com> - 1.1-1
|
||||||
|
- upgrade to v1.1
|
||||||
|
|
||||||
* Thu Aug 6 2020 hanxinke <hanxinke@huawei.com> - 1.0-3
|
* Thu Aug 6 2020 hanxinke <hanxinke@huawei.com> - 1.0-3
|
||||||
- Fix the prefetch_tuning.ko loading
|
- Fix the prefetch_tuning.ko loading
|
||||||
|
|
||||||
|
|||||||
BIN
v1.1.tar.gz
Normal file
BIN
v1.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user