From 2aff4a8164fc2d407c174158c252e5aaa31e50e9 Mon Sep 17 00:00:00 2001 From: Liuke Date: Wed, 9 Sep 2020 15:17:33 +0800 Subject: [PATCH] Specify the architecture and enable compiling on ARM64 only. --- prefetch_tuning.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/prefetch_tuning.spec b/prefetch_tuning.spec index 56aa089..8042047 100644 --- a/prefetch_tuning.spec +++ b/prefetch_tuning.spec @@ -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 - 1.1-3 +- Specify the architecture and enable compiling on ARM64 only. + * Mon Sep 7 2020 Zhipeng Xie - 1.1-2 - update spec