llvm-6502/bindings/ocaml
Peter Zotov 47f88b5bdf [OCaml] [autoconf] Migrate to ocamlfind.
This commit updates the OCaml bindings and tests to use ocamlfind.
The bindings are migrated in order to use ctypes, which are now
required for MCJIT-backed Llvm_executionengine.
The tests are migrated in order to use OUnit and to verify that
the distributed META.llvm allows to build working executables.

Every OCaml toolchain invocation is now chained through ocamlfind,
which (in theory) allows to cross-compile the OCaml bindings.

The configure script now checks for ctypes (>= 0.2.3) and
OUnit (>= 2). The code depending on these libraries will be added
later. The configure script does not check the package versions
in order to keep changes less invasive.

Additionally, OCaml bindings will now be automatically enabled
if ocamlfind is detected on the system, rather than ocamlc, as it
was before.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220899 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-30 08:29:45 +00:00
..
all_backends [OCaml] Drop support for 3.12.1 and earlier. 2014-10-29 08:15:54 +00:00
analysis [OCaml] Drop support for 3.12.1 and earlier. 2014-10-29 08:15:54 +00:00
backends [OCaml] If compiled without --enable-shared, hide packages from toplevel. 2014-10-29 08:16:06 +00:00
bitreader [OCaml] De-duplicate llvm_raise and llvm_string_of_message. 2014-10-30 08:29:29 +00:00
bitwriter [OCaml] De-duplicate llvm_raise and llvm_string_of_message. 2014-10-30 08:29:29 +00:00
executionengine [OCaml] De-duplicate llvm_raise and llvm_string_of_message. 2014-10-30 08:29:29 +00:00
irreader [OCaml] De-duplicate llvm_raise and llvm_string_of_message. 2014-10-30 08:29:29 +00:00
linker [OCaml] De-duplicate llvm_raise and llvm_string_of_message. 2014-10-30 08:29:29 +00:00
llvm [OCaml] De-duplicate llvm_raise and llvm_string_of_message. 2014-10-30 08:29:29 +00:00
target [OCaml] De-duplicate llvm_raise and llvm_string_of_message. 2014-10-30 08:29:29 +00:00
transforms [OCaml] Drop support for 3.12.1 and earlier. 2014-10-29 08:15:54 +00:00
Makefile [OCaml] Fix whitespace. 2014-10-28 06:15:18 +00:00
Makefile.ocaml [OCaml] [autoconf] Migrate to ocamlfind. 2014-10-30 08:29:45 +00:00