[llvm-commits] CVS: llvm/tools/lli/Makefile
Misha Brukman
brukman at cs.uiuc.edu
Wed Oct 13 23:35:25 PDT 2004
Changes in directory llvm/tools/lli:
Makefile updated: 1.45 -> 1.46
---
Log message:
Enable the PowerPC JIT by compiling powerpc.o library into lli
---
Diffs of the changes: (+13 -0)
Index: llvm/tools/lli/Makefile
diff -u llvm/tools/lli/Makefile:1.45 llvm/tools/lli/Makefile:1.46
--- llvm/tools/lli/Makefile:1.45 Fri Oct 8 13:14:56 2004
+++ llvm/tools/lli/Makefile Thu Oct 14 01:35:11 2004
@@ -46,6 +46,19 @@
sparcv9regalloc
endif
+# You can enable the PowerPC JIT on a non-PowerPC host by setting the flag
+# ENABLE_PPC_JIT on the make command line. If not, it will still be
+# enabled automagically on an PowerPC host.
+ifeq ($(ARCH), PowerPC)
+ ENABLE_PPC_JIT = 1
+endif
+
+# What the PowerPC JIT requires
+ifdef ENABLE_PPC_JIT
+ CPPFLAGS += -DENABLE_PPC_JIT
+ JITLIBS += powerpc
+endif
+
USEDLIBS = lli-interpreter $(JITLIBS) $(ARCHLIBS) scalaropts analysis.a \
transformutils.a bcreader vmcore support target.a LLVMsystem.a
More information about the llvm-commits
mailing list