!83 添加sw架构

From: @wuzx065891 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
This commit is contained in:
openeuler-ci-bot 2023-03-30 03:26:44 +00:00 committed by Gitee
commit cd1921640b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 10124 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
Summary: AI auto tuning system
Name: atune
Version: 1.0.0
Release: 8
Release: 9
License: MulanPSL-2.0
URL: https://gitee.com/openeuler/A-Tune
Source: https://gitee.com/openeuler/A-Tune/repository/archive/v%{version}.tar.gz
@ -12,6 +12,7 @@ Patch9000: check-whether-the-certificate-file-exists.patch
Patch9001: add-FAQ-and-self-signature-certificate-manufacturing.patch
Patch9002: change-Makefile-A-Tune-version-to-1.0.0.patch
Patch9003: fix-start-failed-of-atuned-service.patch
Patch9004: A-Tune-Add-sw64-architecture.patch
BuildRequires: rpm-build golang-bin procps-ng
BuildRequires: sqlite >= 3.24.0 openssl
@ -68,7 +69,14 @@ Conflicts: atune < 0.3-0.9
atune engine tool for manage atuned AI tuning system.
%prep
%autosetup -n A-Tune-v%{version} -p1
%setup -n A-Tune-v%{version}
%patch9000 -p1
%patch9001 -p1
%patch9002 -p1
%patch9003 -p1
%ifarch sw_64
%patch9004 -p1
%endif
%build
%make_build
@ -149,6 +157,9 @@ atune engine tool for manage atuned AI tuning system.
%systemd_postun_with_restart atuned.service
%changelog
* Fri Mar 3 2023 wuzx<wuzx1226@qq.com> - 1.0.0-9
- Add sw64 architecture
* Sat Jan 28 2023 panxiaohe <pan_xiaohe@hoperun.com> - 1.0.0-8
- fix build failure that unitdir cannot be identified