[PATCH] D145763: llvm-exegesis: Only run X86 tests on X86 hosts
Tom Stellard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 10 11:25:03 PST 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe30ce634f75c: llvm-exegesis: Only run target specfic tests on native hosts (authored by tstellar).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145763/new/
https://reviews.llvm.org/D145763
Files:
llvm/test/tools/llvm-exegesis/PowerPC/lit.local.cfg
llvm/test/tools/llvm-exegesis/X86/lit.local.cfg
Index: llvm/test/tools/llvm-exegesis/X86/lit.local.cfg
===================================================================
--- llvm/test/tools/llvm-exegesis/X86/lit.local.cfg
+++ llvm/test/tools/llvm-exegesis/X86/lit.local.cfg
@@ -1,3 +1,6 @@
if not ('X86' in config.root.targets):
# We need support for X86.
config.unsupported = True
+elif not ('x86_64' in config.root.host_triple):
+ # We need to be running on an X86 host.
+ config.unsupported = True
Index: llvm/test/tools/llvm-exegesis/PowerPC/lit.local.cfg
===================================================================
--- llvm/test/tools/llvm-exegesis/PowerPC/lit.local.cfg
+++ llvm/test/tools/llvm-exegesis/PowerPC/lit.local.cfg
@@ -1,3 +1,6 @@
if not ('PowerPC' in config.root.targets):
# We need support for PowerPC.
config.unsupported = True
+elif not ('powerpc' in config.root.host_triple):
+ # We need to be running on an PPC host.
+ config.unsupported = True
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145763.504226.patch
Type: text/x-patch
Size: 963 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230310/9f728023/attachment.bin>
More information about the llvm-commits
mailing list