mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 10:35:42 +00:00
21 lines
952 B
Diff
21 lines
952 B
Diff
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
|
|
@@ -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
|
|
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
|
|
@@ -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
|
|
|