Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
LLVM 3.1: fix compilation of Ocaml bindings #14125
The problem is that generating the documentation (with ocamldoc) seems to require some object files (.cmi) to be already available. For a quick fix I patched the Makefile so that the global target 'docs' comes after 'bindings'.
I also patched 2 sub-Makefiles where I suspect that the target 'ocamldoc' was hiding the intended default target.
The resulting patch on LLVM is kinda huge unfortunately...
I tested this formula with "brew install --build-from-source llvm" on MAC OS Lion with Ocaml 4.00.