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? JC
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>
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