!10 Specify the architecture and enable compiling on ARM64 only.

Merge pull request !10 from Liuke/master
This commit is contained in:
openeuler-ci-bot 2020-09-09 15:21:42 +08:00 committed by Gitee
commit bcd6cef122

View File

@ -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