llvm/D145763.diff

22 lines
952 B
Diff
Raw Normal View History

2023-02-02 20:08:20 +00:00
diff --git a/llvm/test/tools/llvm-exegesis/PowerPC/lit.local.cfg b/llvm/test/tools/llvm-exegesis/PowerPC/lit.local.cfg
--- a/llvm/test/tools/llvm-exegesis/PowerPC/lit.local.cfg
+++ b/llvm/test/tools/llvm-exegesis/PowerPC/lit.local.cfg
2023-03-14 19:25:42 +00:00
@@ -1,3 +1,6 @@
2023-02-02 20:08:20 +00:00
if not ('PowerPC' in config.root.targets):
# We need support for PowerPC.
config.unsupported = True
2023-03-14 19:25:42 +00:00
+elif not ('powerpc' in config.root.host_triple):
+ # We need to be running on an PPC host.
+ config.unsupported = True
2023-02-02 20:08:20 +00:00
diff --git a/llvm/test/tools/llvm-exegesis/X86/lit.local.cfg b/llvm/test/tools/llvm-exegesis/X86/lit.local.cfg
--- a/llvm/test/tools/llvm-exegesis/X86/lit.local.cfg
+++ b/llvm/test/tools/llvm-exegesis/X86/lit.local.cfg
2023-03-14 19:25:42 +00:00
@@ -1,3 +1,6 @@
2023-02-02 20:08:20 +00:00
if not ('X86' in config.root.targets):
# We need support for X86.
config.unsupported = True
2023-03-14 19:25:42 +00:00
+elif not ('x86_64' in config.root.host_triple):
+ # We need to be running on an X86 host.
+ config.unsupported = True