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
|
||||
Summary: CPU prefetch tuning module for Kunpeng 920
|
||||
Version: 1.1
|
||||
Release: 2
|
||||
Release: 3
|
||||
License: GPLv2
|
||||
Source0: https://gitee.com/openeuler/prefetch_tuning/repository/archive/v%{version}.tar.gz
|
||||
buildroot: %{_tmppath}/%{kmod_name}-%{version}-build
|
||||
@ -18,6 +18,8 @@ Users can user this module to control CPU prefetch settings.
|
||||
|
||||
%global debug_package %{nil}
|
||||
|
||||
exclusiveArch: aarch64
|
||||
|
||||
%prep
|
||||
%setup -n %{kmod_name}
|
||||
sed -i 's/EXTRA_CFLAGS += -Wall -Werror/EXTRA_CFLAGS += -Wall/g' Makefile
|
||||
@ -46,6 +48,9 @@ rm -rf %_builddir/%{kmod_name}-%{version}
|
||||
%preun
|
||||
|
||||
%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
|
||||
- update spec
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user