Skip to content

Commit f2b0bf3

Browse files
committed
llvm-exegesis: Only run target specfic tests on native hosts
These tests were failing on SystemZ hosts, I don't think JIT'ing non-SystemZ modules on SystemZ is supported. The tests were initiallay enabled on all arches by 7a76140. Differential Revision: https://reviews.llvm.org/D145763 (cherry picked from commit e30ce63)
1 parent b32dda2 commit f2b0bf3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
if not ('PowerPC' in config.root.targets):
22
# We need support for PowerPC.
33
config.unsupported = True
4+
elif not ('powerpc' in config.root.host_triple):
5+
# We need to be running on an PPC host.
6+
config.unsupported = True
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
if not ('X86' in config.root.targets):
22
# We need support for X86.
33
config.unsupported = True
4+
elif not ('x86_64' in config.root.host_triple):
5+
# We need to be running on an X86 host.
6+
config.unsupported = True

0 commit comments

Comments
 (0)