[PATCH] D35898: [OCaml] Respect CMAKE_C_COMPILER & CMAKE_C_FLAGS for OCaml C files

whitequark via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 28 14:16:56 PDT 2017


whitequark requested changes to this revision.
whitequark added a comment.
This revision now requires changes to proceed.

  message(FATAL_ERROR "LLVM_OCAML_OUT_OF_TREE cannot be enabled while on Debug mode. Use -DCMAKE_BUILD_TYPE=Release instead.")

Why not just ignore CMAKE_C_COMPILER &c when building out of tree? What's the problem here exactly? This seems like an arbitrary restriction.


https://reviews.llvm.org/D35898





More information about the llvm-commits mailing list