[LLVMdev] Tail Call Optimization

james woodyatt jhw at conjury.org
Thu Mar 8 14:17:26 PST 2012


On Feb 29, 2012, at 00:21 , David Rogers wrote:

> Compiling 3.0 (but not 2.8 or earlier) I also had to run:
> touch llvm-3.0.src/bindings/ocaml/llvm/Release/META.llvm
> to passify make install, since it tried to install metadata, but
> didn't have any.

I found the following patch made my life easier...

diff -r d9c523bb68e7 -r 4052755f0c5b bindings/ocaml/llvm/Makefile
--- a/bindings/ocaml/llvm/Makefile      Wed Mar 07 15:25:01 2012 -0800
+++ b/bindings/ocaml/llvm/Makefile      Wed Mar 07 21:38:56 2012 -0800
@@ -27,7 +27,7 @@
 # Easy way of generating META in the objdir
 copy-meta: $(OcamlDir)/META.llvm
 
-$(OcamlDir)/META.llvm: META.llvm
+$(ObjDir)/META.llvm: META.llvm
        $(Verb) $(CP) -f $< $@
 
 install-meta:: $(ObjDir)/META.llvm


-- 
j h woodyatt <jhw at conjury.org>





More information about the llvm-dev mailing list