[PATCH] [OCaml] link in codegen for access to GCRegistry

Ramkumar Ramachandra artagnon at gmail.com
Wed Dec 24 10:48:20 PST 2014


Hi whitequark,

My preliminary test fails, but I'm not sure if I'm doing it right.

http://reviews.llvm.org/D6778

Files:
  bindings/ocaml/llvm/CMakeLists.txt
  bindings/ocaml/llvm/Makefile

Index: bindings/ocaml/llvm/CMakeLists.txt
===================================================================
--- bindings/ocaml/llvm/CMakeLists.txt
+++ bindings/ocaml/llvm/CMakeLists.txt
@@ -1,7 +1,7 @@
 add_ocaml_library(llvm
   OCAML llvm
   C     llvm_ocaml
-  LLVM  core support)
+  LLVM  core codegen support)
 
 configure_file(
   "${CMAKE_CURRENT_SOURCE_DIR}/META.llvm.in"
Index: bindings/ocaml/llvm/Makefile
===================================================================
--- bindings/ocaml/llvm/Makefile
+++ bindings/ocaml/llvm/Makefile
@@ -13,7 +13,7 @@
 
 LEVEL := ../../..
 LIBRARYNAME := llvm
-UsedComponents := core
+UsedComponents := core codegen
 UsedOcamlLibs := llvm
 ExtraLibs := -lstdc++

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6778.17627.patch
Type: text/x-patch
Size: 715 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141224/e4fbc648/attachment.bin>


More information about the llvm-commits mailing list