[llvm-dev] OCaml bindings

Michał Górny via llvm-dev llvm-dev at lists.llvm.org
Fri Mar 10 23:52:05 PST 2017

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170311/1af3c3ee/attachment.sig>

More information about the llvm-dev mailing list