aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Northover <Tim.Northover@arm.com>2013-05-04 20:13:52 +0000
committerTim Northover <Tim.Northover@arm.com>2013-05-04 20:13:52 +0000
commitbd121f5b3ab3703527b810be1dc38e15a6f8944a (patch)
tree73c0cedd05f120ab613508f7e73bc1dd6051eb3a
parent9a29cf281e5fc4e3fd4f4f83296fbc22ebfdac86 (diff)
Build system changes to enable MCJIT on AArch64
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
-rwxr-xr-xcmake/config-ix.cmake2
-rw-r--r--lib/Target/AArch64/LLVMBuild.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 11c6344a1c..d03b3f68d4 100755
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -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")
diff --git a/lib/Target/AArch64/LLVMBuild.txt b/lib/Target/AArch64/LLVMBuild.txt
index 3b296fdddc..6e4ce8bea8 100644
--- a/lib/Target/AArch64/LLVMBuild.txt
+++ b/lib/Target/AArch64/LLVMBuild.txt
@@ -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