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

Michał Górny via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 8 11:12:54 PDT 2016


mgorny added a comment.

In https://reviews.llvm.org/D24354#537352, @whitequark wrote:

> But doesn't OCAML_STDLIB_PATH include /usr? So you would be installing to /usr/local/usr/lib/ocaml with the default config, unless I'm missing something.


Yes, it does. However, CMake uses the whole path when it is an absolute path, i.e. OCAML_INSTALL_PATH=/foo/bar -> installs to /foo/bar; OCAML_INSTALL_PATH=foo/bar -> install to ${CMAKE_INSTALL_PREFIX}/foo/bar.


https://reviews.llvm.org/D24354





More information about the llvm-commits mailing list