summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-07-22 20:54:01 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-07-22 20:54:01 +0000
commitddc31e813d3bc6365e4a74a593c324d9a534bbb8 (patch)
tree5019fd5662d199dc45d7334ae06a4fa9b4ae83cb /Makefile.rules
parent0934ae02af2e4d295951cea7e4567b065e183451 (diff)
downloadllvm-ddc31e813d3bc6365e4a74a593c324d9a534bbb8.tar.gz
llvm-ddc31e813d3bc6365e4a74a593c324d9a534bbb8.tar.bz2
llvm-ddc31e813d3bc6365e4a74a593c324d9a534bbb8.tar.xz
Alpha has JIT
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22501 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index ae4e65247f..f6e3467e78 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -602,6 +602,18 @@ ifdef ENABLE_PPC_JIT
JIT_LIBS += LLVMPowerPC LLVMSelectionDAG
endif
+# You can enable the Alpha JIT on a non-Alpha host by setting the flag
+# ENABLE_ALPHA_JIT on the make command line. If not, it will still be
+# enabled automagically on an PowerPC host.
+ifeq ($(ARCH), Alpha)
+ ENABLE_ALPHA_JIT = 1
+endif
+
+# What the PowerPC JIT requires
+ifdef ENABLE_ALPHA_JIT
+ JIT_LIBS += LLVMAlpha LLVMSelectionDAG
+endif
+
LLVMLIBS := $(JIT_LIBS) LLVMScalarOpts LLVMAnalysis.a LLVMTransformUtils.a \
LLVMBCReader LLVMCore LLVMSupport.a LLVMTarget.a LLVMbzip2 \
LLVMSystem.a $(PLATFORMLIBDL)