!163 Add arch restriction for BiSheng Autotuner
From: @liyunfei33 Reviewed-by: @eastb233 Signed-off-by: @eastb233
This commit is contained in:
commit
bb7390160f
24
0026-Add-arch-restriction-for-BiSheng-Autotuner.patch
Normal file
24
0026-Add-arch-restriction-for-BiSheng-Autotuner.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From 2513e90fd317bbe5854a06213e43cdf7029c3ee2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: liyunfei <liyunfei33@huawei.com>
|
||||||
|
Date: Tue, 5 Nov 2024 18:18:19 +0800
|
||||||
|
Subject: [PATCH] Add arch restriction for BiSheng Autotuner
|
||||||
|
|
||||||
|
BiSheng Autotuner only support x86_64 and aarch64 temporarily.
|
||||||
|
|
||||||
|
Signed-off-by: liyunfei <liyunfei33@huawei.com>
|
||||||
|
---
|
||||||
|
llvm/test/AutoTuning/lit.local.cfg | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/llvm/test/AutoTuning/lit.local.cfg b/llvm/test/AutoTuning/lit.local.cfg
|
||||||
|
index 13b4927257ab..c48c2c9eab6f 100644
|
||||||
|
--- a/llvm/test/AutoTuning/lit.local.cfg
|
||||||
|
+++ b/llvm/test/AutoTuning/lit.local.cfg
|
||||||
|
@@ -1,2 +1,4 @@
|
||||||
|
if not config.enable_enable_autotuner:
|
||||||
|
config.unsupported = True
|
||||||
|
+if config.host_arch not in ["x86", "X86", 'x86_64', 'aarch64']:
|
||||||
|
+ config.unsupported = True
|
||||||
|
\ No newline at end of file
|
||||||
|
--
|
||||||
|
Gitee
|
||||||
@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: %{maj_ver}.%{min_ver}.%{patch_ver}
|
Version: %{maj_ver}.%{min_ver}.%{patch_ver}
|
||||||
Release: 21
|
Release: 22
|
||||||
Summary: The Low Level Virtual Machine
|
Summary: The Low Level Virtual Machine
|
||||||
|
|
||||||
License: NCSA
|
License: NCSA
|
||||||
@ -82,6 +82,7 @@ Patch22: 0022-Prevent-environment-variables-from-exceeding-NAME_MA.patch
|
|||||||
Patch23: 0023-AArch64-Support-HiSilicon-s-HIP09-Processor.patch
|
Patch23: 0023-AArch64-Support-HiSilicon-s-HIP09-Processor.patch
|
||||||
Patch24: 0024-Backport-LoongArch-fix-and-add-some-new-support.patch
|
Patch24: 0024-Backport-LoongArch-fix-and-add-some-new-support.patch
|
||||||
Patch25: 0025-Backport-Simple-check-to-ignore-Inline-asm-fwait-insertion.patch
|
Patch25: 0025-Backport-Simple-check-to-ignore-Inline-asm-fwait-insertion.patch
|
||||||
|
Patch26: 0026-Add-arch-restriction-for-BiSheng-Autotuner.patch
|
||||||
|
|
||||||
BuildRequires: binutils-devel
|
BuildRequires: binutils-devel
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
@ -375,6 +376,9 @@ LD_LIBRARY_PATH=%{buildroot}/%{install_libdir} %{__ninja} check-all -C %{__cmake
|
|||||||
%{install_includedir}/llvm-gmock
|
%{install_includedir}/llvm-gmock
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 18 2024 liyunfei <liyunfei33@huawei.net> - 17.0.6-22
|
||||||
|
- Add arch restriction for BiSheng Autotuner
|
||||||
|
|
||||||
* Mon Nov 18 2024 liyunfei <liyunfei33@huawei.net> - 17.0.6-21
|
* Mon Nov 18 2024 liyunfei <liyunfei33@huawei.net> - 17.0.6-21
|
||||||
- [Backport] Simple check to ignore Inline asm fwait insertion
|
- [Backport] Simple check to ignore Inline asm fwait insertion
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user