[llvm-commits] CVS: llvm/configure Makefile.rules

Andrew Lenharth alenhar2 at cs.uiuc.edu
Fri Jul 22 13:54:13 PDT 2005



Changes in directory llvm:

configure updated: 1.195 -> 1.196
Makefile.rules updated: 1.314 -> 1.315
---
Log message:

Alpha has JIT

---
Diffs of the changes:  (+13 -1)

 Makefile.rules |   12 ++++++++++++
 configure      |    2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)


Index: llvm/configure
diff -u llvm/configure:1.195 llvm/configure:1.196
--- llvm/configure:1.195	Thu Jul 14 00:19:12 2005
+++ llvm/configure	Fri Jul 22 15:54:00 2005
@@ -2997,7 +2997,7 @@
  ;;
     x86_64)  JIT=
  ;;
-    Alpha)   JIT=
+    Alpha)   JIT=TARGET_HAS_JIT=1
  ;;
     IA64)    JIT=
  ;;


Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.314 llvm/Makefile.rules:1.315
--- llvm/Makefile.rules:1.314	Mon May 23 21:33:20 2005
+++ llvm/Makefile.rules	Fri Jul 22 15:54:01 2005
@@ -602,6 +602,18 @@
   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)






More information about the llvm-commits mailing list