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

whitequark via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 20 06:34:11 PDT 2016


whitequark added a comment.

@jpdeplaix can you please test the updated patch also?


================
Comment at: cmake/modules/AddOCaml.cmake:214
@@ -212,1 +213,3 @@
 
+add_custom_target(ocaml_make_directory
+  COMMAND "${CMAKE_COMMAND}" "-E" "make_directory" "${LLVM_LIBRARY_DIR}/ocaml/llvm")
----------------
""

================
Comment at: cmake/modules/AddOCaml.cmake:214
@@ -212,1 +213,3 @@
 
+add_custom_target(ocaml_make_directory
+  COMMAND "${CMAKE_COMMAND}" "-E" "make_directory" "${LLVM_LIBRARY_DIR}/ocaml/llvm")
----------------
whitequark wrote:
> ""
This also needs to have a reverse dependency, or else you'll break make -j.


https://reviews.llvm.org/D24354





More information about the llvm-commits mailing list