Specify the architecture and enable compiling on ARM64 only.
This commit is contained in:
parent
1673b005fb
commit
2aff4a8164
@ -3,7 +3,7 @@
|
|||||||
Name: prefetch_tuning
|
Name: prefetch_tuning
|
||||||
Summary: CPU prefetch tuning module for Kunpeng 920
|
Summary: CPU prefetch tuning module for Kunpeng 920
|
||||||
Version: 1.1
|
Version: 1.1
|
||||||
Release: 2
|
Release: 3
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Source0: https://gitee.com/openeuler/prefetch_tuning/repository/archive/v%{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
|
||||||
@ -18,6 +18,8 @@ Users can user this module to control CPU prefetch settings.
|
|||||||
|
|
||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
|
|
||||||
|
exclusiveArch: aarch64
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n %{kmod_name}
|
%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
|
||||||
@ -46,6 +48,9 @@ rm -rf %_builddir/%{kmod_name}-%{version}
|
|||||||
%preun
|
%preun
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 9 2020 Liuke <liuke64@huawei.com> - 1.1-3
|
||||||
|
- Specify the architecture and enable compiling on ARM64 only.
|
||||||
|
|
||||||
* Mon Sep 7 2020 Zhipeng Xie <xiezhipeng1@huawei.com> - 1.1-2
|
* Mon Sep 7 2020 Zhipeng Xie <xiezhipeng1@huawei.com> - 1.1-2
|
||||||
- update spec
|
- update spec
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user