From d1100b3325a84e28ed4b6fcc89eaeaf5b61b300a Mon Sep 17 00:00:00 2001
From: Rafael Espindola <rafael.espindola@gmail.com>
Date: Mon, 3 Jun 2013 19:17:21 +0000
Subject: [PATCH] Enable mcjit tests on ppc64 when building with cmake.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183143 91177308-0d34-0410-b5e6-96231b3b80d8
---
 test/ExecutionEngine/MCJIT/lit.local.cfg | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/ExecutionEngine/MCJIT/lit.local.cfg b/test/ExecutionEngine/MCJIT/lit.local.cfg
index 9f0552a50f0..f21468ffa24 100644
--- a/test/ExecutionEngine/MCJIT/lit.local.cfg
+++ b/test/ExecutionEngine/MCJIT/lit.local.cfg
@@ -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: