Enable mcjit tests on ppc64 when building with cmake.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 3 Jun 2013 19:17:21 +0000 (19:17 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 3 Jun 2013 19:17:21 +0000 (19:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183143 91177308-0d34-0410-b5e6-96231b3b80d8

test/ExecutionEngine/MCJIT/lit.local.cfg

index 9f0552a50f0dc87be7f7d1ca11f2b7c900ec02f7..f21468ffa24108ce1621d0d94c861645862f3805 100644 (file)
@@ -14,8 +14,10 @@ if ('X86' in targets) | ('AArch64' in targets) | ('ARM' in targets) | \
 else:
     config.unsupported = True
 
+# FIXME: autoconf and cmake produce different arch names. We should normalize
+# them before getting here.
 if root.host_arch not in ['i386', 'x86', 'x86_64',
-                          'AArch64', 'ARM', 'Mips', 'PowerPC', 'SystemZ']:
+                          'AArch64', 'ARM', 'Mips', 'PowerPC', 'ppc64', 'SystemZ']:
     config.unsupported = True
 
 if 'armv7' in root.host_arch: