Search code examples
ocamlllvmopamocaml-dune

Installing OCaml bindings for LLVM


I built LLVM13 rc4 with OCaml bindings. After running ninja install, I see the bindings is now installed in $HOME/.opam/4.12.0/lib/ocaml. However, I run dune build and it looks like the system does not realize the bindings is installed.

How do I add the built bindings to OCaml?


Solution

  • Thanks, I figured it out. I need to copy them from lib/ocaml/llvm to lib/llvm and lib/llvm/static