[llvm-dev] OCaml bindings

Juan Ceasar via llvm-dev llvm-dev at lists.llvm.org
Mon Mar 13 05:59:18 PDT 2017


Thanks Michal!

This worked perfectly :-)

JC


> On Mar 11, 2017, at 2:52 AM, Michał Górny <mgorny at gentoo.org> wrote:
> 
> W dniu 10.03.2017, pią o godzinie 17∶17 -0500, użytkownik Juan Ceasar
> via llvm-dev napisał:
>> Hi All,
>> 
>> I’m being a complete newbie on this one but how do I generate the OCaml bindings?  I saw an old google post using “configure —enable-bindings=ocaml” but we don’t use configure anymore (I’m building 3.9.1) and if I just do a regular build (optimized) then I don’t see any bindings in my build directory….
>> 
>> Any ideas?
> 
> So, to get OCaml bindings built you just have to have all necessary
> dependencies installed while building LLVM, and it should auto-enable
> itself. This means ocaml, ocaml-ctypes and findlib. If you want to run
> tests, you also need ounit.
> 
> I think LLVM is also installable via OPAM these days.
> 
> 
> Disclaimer: I'm not an OCaml expert, just had to deal with installing it
> ;-).
> 
> 
> -- 
> Best regards,
> Michał Górny



More information about the llvm-dev mailing list