[PATCH] D24354: cmake: Install the OCaml libraries into a more correct path

Michał Górny via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 10 02:52:48 PDT 2016


mgorny added a comment.

In https://reviews.llvm.org/D24354#539322, @jpdeplaix wrote:

> It's off-topic but I also noticed that .mli are not installed. Could either one of you fix it ?


Sure, I'll look at it. Though note that I'm not really using OCaml myself, just doing what people who use it ask me to do ;-D.

By the way, I appreciate your effort on trying to make OCaml buildable stand-alone. I'll probably end up submitting a patch similar to yours; however, I don't really like the idea of having magical variables to partially disable parts of CMake. I'm wondering how to handle this better. Maybe it'd be a good idea to make bindings/ocaml CMakeFiles.txt runnable as stand-alone project -- like clang or compiler-rt support nowadays.


https://reviews.llvm.org/D24354





More information about the llvm-commits mailing list