[PATCH] D41356: Don't look for OCaml if LLVM_ENABLE_OCAMLDOC=OFF
Guilherme Amadio via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 19 02:57:47 PST 2017
amadio added a comment.
I patched ROOT in Gentoo to avoid the error messages, but how could OCaml bindings be turned off in LLVM if OCaml is installed at configure time? (and avoiding the package lookup if it's not needed?)
Another comment is that `include(FindOCaml)` and `find_package(OCaml)` serve more or less the same purpose, so the error message appears twice. One of the lines could be removed.
More information about the llvm-commits