Bug ID: 34115
Summary: Fix LLVM_OCAML_OUT_OF_TREE
Product: Build scripts
CC: email@example.com, mgo...@gentoo.org,
Created attachment 18944
If OCaml is not installed in the same tree as LLVM (e.g. with OPAM), the build
script doesn't work. Moreover, if SHARED_LIBS is enabled, the resulting binding
won't be dynamically linked.
Here is a patch that tries to fix these two issues.
The patch also fixes the build instructions.
I also tried to allow both static and shared libraries if possible (see OPAM
package) but my level of comprehension of CMake is quite limited so I gave up.
But if anybody have any idea how to do that better, please feel free to discuss
this matter here.
You are receiving this mail because:
You are on the CC list for the bug.
llvm-bugs mailing list