OSDN Git Service

Build system changes to enable MCJIT on AArch64
authorTim Northover <Tim.Northover@arm.com>
Sat, 4 May 2013 20:13:52 +0000 (20:13 +0000)
committerTim Northover <Tim.Northover@arm.com>
Sat, 4 May 2013 20:13:52 +0000 (20:13 +0000)
These changes just allow AArch64 to take part in the MCJIT world when
built correctly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181130 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/config-ix.cmake
lib/Target/AArch64/LLVMBuild.txt

index 11c6344..d03b3f6 100755 (executable)
@@ -366,6 +366,8 @@ elseif (LLVM_NATIVE_ARCH MATCHES "sparc")
   set(LLVM_NATIVE_ARCH Sparc)
 elseif (LLVM_NATIVE_ARCH MATCHES "powerpc")
   set(LLVM_NATIVE_ARCH PowerPC)
+elseif (LLVM_NATIVE_ARCH MATCHES "aarch64")
+  set(LLVM_NATIVE_ARCH AArch64)
 elseif (LLVM_NATIVE_ARCH MATCHES "arm")
   set(LLVM_NATIVE_ARCH ARM)
 elseif (LLVM_NATIVE_ARCH MATCHES "mips")
index 3b296fd..6e4ce8b 100644 (file)
@@ -25,7 +25,7 @@ parent = Target
 has_asmparser = 1
 has_asmprinter = 1
 has_disassembler = 1
-;has_jit = 1
+has_jit = 1
 
 [component_1]
 type = Library