mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
47f88b5bdf
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 |
||
---|---|---|
.. | ||
m4 | ||
AutoRegen.sh | ||
config.guess | ||
config.sub | ||
configure.ac | ||
ExportMap.map | ||
install-sh | ||
LICENSE.TXT | ||
missing | ||
mkinstalldirs | ||
README.TXT |
Upgrading autoconf =============================================================================== If you are in the mood to upgrade autoconf, you should: 1. Consider not upgrading. 2. No really, this is a hassle, you don't want to do it. 3. Get the new version of autoconf and put it in <SRC> 4. configure/build/install autoconf with --prefix=<PFX> 5. Run autoupdate on all the m4 macros in llvm/autoconf/m4 6. Run autoupdate on llvm/autoconf/configure.ac 7. Regenerate configure script with AutoRegen.sh 8. If there are any warnings from AutoRegen.sh, fix them and go to step 7. 9. Test, test, test.