mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 09:32:42 +00:00
Fix a test failure on s390x
This commit is contained in:
parent
a912a7bb3e
commit
9a451905d0
2 changed files with 29 additions and 0 deletions
|
@ -0,0 +1,26 @@
|
||||||
|
From a56ac2803a227a1983f58d501ea61127dee18f56 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Tom Stellard <tstellar@redhat.com>
|
||||||
|
Date: Wed, 19 Apr 2023 16:05:58 -0700
|
||||||
|
Subject: [PATCH] [llvm-exegesis][AArch64] Only run tests on aarch64 hosts
|
||||||
|
|
||||||
|
The add-return.s test is failing on s390x.
|
||||||
|
|
||||||
|
See also e30ce634f75c01cc8784cb0c4972c42987178c1d.
|
||||||
|
---
|
||||||
|
llvm/test/tools/llvm-exegesis/AArch64/lit.local.cfg | 3 +++
|
||||||
|
1 file changed, 3 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/llvm/test/tools/llvm-exegesis/AArch64/lit.local.cfg b/llvm/test/tools/llvm-exegesis/AArch64/lit.local.cfg
|
||||||
|
index 2c80c84ef2cc..c1c887bfcc47 100644
|
||||||
|
--- a/llvm/test/tools/llvm-exegesis/AArch64/lit.local.cfg
|
||||||
|
+++ b/llvm/test/tools/llvm-exegesis/AArch64/lit.local.cfg
|
||||||
|
@@ -1,3 +1,6 @@
|
||||||
|
if not ('AArch64' in config.root.targets):
|
||||||
|
# We need support for AArch64.
|
||||||
|
config.unsupported = True
|
||||||
|
+elif not ('aarch64' in config.root.host_triple):
|
||||||
|
+ # We need to be running on an PPC host.
|
||||||
|
+ config.unsupported = True
|
||||||
|
--
|
||||||
|
2.31.1
|
||||||
|
|
|
@ -113,6 +113,9 @@ Source5: run-lit-tests
|
||||||
Source6: lit.fedora.cfg.py
|
Source6: lit.fedora.cfg.py
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Fix a test failure. https://reviews.llvm.org/D147699#4269505
|
||||||
|
Patch0: 0001-llvm-exegesis-AArch64-Only-run-tests-on-aarch64-host.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: clang
|
BuildRequires: clang
|
||||||
|
|
Loading…
Reference in a new issue