Enable mcjit tests on ppc64 when building with cmake.

llvm-svn: 183143
This commit is contained in:
Rafael Espindola 2013-06-03 19:17:21 +00:00
parent ea7cef0869
commit f102438f3a
1 changed files with 3 additions and 1 deletions

View File

@ -14,8 +14,10 @@ if ('X86' in targets) | ('AArch64' in targets) | ('ARM' in targets) | \
else: else:
config.unsupported = True 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', if root.host_arch not in ['i386', 'x86', 'x86_64',
'AArch64', 'ARM', 'Mips', 'PowerPC', 'SystemZ']: 'AArch64', 'ARM', 'Mips', 'PowerPC', 'ppc64', 'SystemZ']:
config.unsupported = True config.unsupported = True
if 'armv7' in root.host_arch: if 'armv7' in root.host_arch: