aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/ocaml/Makefile.ocaml
Commit message (Collapse)AuthorAgeFilesLines
* Add OCaml tutorial to the examples.Erick Tryzelaar2010-03-081-28/+95
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97966 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix another parallel make race condition.Bob Wilson2009-12-181-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91709 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix pr4820: Don't run llvm-config during "make clean" since it may haveBob Wilson2009-09-111-0/+4
| | | | | | | already been removed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81547 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a parallel make race condition by swapping the order of -I directories.Bob Wilson2009-03-061-2/+2
| | | | | | | | | | | | The .cmi files are generated in $(ObjDir) and then copied to $(OcamlDir). The ocamldep output references the .cmi files in $(ObjDir), so make kicks off a dependent compile as soon as the local copy is generated. If the copy to $(OcamlDir) is not complete at that point, the compiler will read the partially copied file and complain about a "Corrupted compiled interface". Searching $(ObjDir) first avoids this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66217 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove libtool.Nick Lewycky2009-02-261-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65517 91177308-0d34-0410-b5e6-96231b3b80d8
* Refresh Makefile.ocaml in objdir if it is modified in srcdir.Gordon Henriksen2008-03-101-0/+8
| | | | | | Patch by Erick Tryzelaar! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48150 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding ocamldoc generation.Gordon Henriksen2008-03-101-0/+7
| | | | | | Patch by Erick Tryzelaar. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48147 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a typo. 'make clean' in bindings/ocaml would leave an output.Gordon Henriksen2008-03-071-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48012 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a typo noticed by Erick Tryzelaar,Gordon Henriksen2008-03-041-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47886 91177308-0d34-0410-b5e6-96231b3b80d8
* Modify Makefile.rules to allow makefiles to prepend to C.Flags andGordon Henriksen2008-01-061-1/+2
| | | | | | fiends. Change Makefile.ocaml to not touch CFLAGS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45663 91177308-0d34-0410-b5e6-96231b3b80d8
* Quote a path in the Ocaml makefile which is likely to include spaces on Windows.Gordon Henriksen2008-01-041-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45580 91177308-0d34-0410-b5e6-96231b3b80d8
* remove attributions from the rest of the llvm makefiles.Chris Lattner2007-12-291-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45416 91177308-0d34-0410-b5e6-96231b3b80d8
* Disabling -g for ocaml builds; it's not downwards compatible.Gordon Henriksen2007-12-251-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45352 91177308-0d34-0410-b5e6-96231b3b80d8
* C and Ocaml bindings for ExecutionEngine (i.e., the JIT compiler).Gordon Henriksen2007-12-231-5/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45335 91177308-0d34-0410-b5e6-96231b3b80d8
* Track dependencies when creating symlinks to LLVM libraries nextGordon Henriksen2007-12-031-9/+26
| | | | | | | to the ocaml bindings. This is required on Windows where 'ln -sf' actually creates a copy. Thanks to Alain Frisch for noticing this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44547 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix ocaml bindings for picky linkers. :)Gordon Henriksen2007-10-121-2/+3
| | | | | | Thanks to Török Edvin for helping to track this down. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42927 91177308-0d34-0410-b5e6-96231b3b80d8
* Bindings for the verifier.Gordon Henriksen2007-10-061-2/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42707 91177308-0d34-0410-b5e6-96231b3b80d8
* Do use the actual ocaml stdlib (not the install dir) to find theGordon Henriksen2007-10-041-3/+2
| | | | | | caml/*.h headers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42599 91177308-0d34-0410-b5e6-96231b3b80d8
* Providing --with-ocaml-libdir for ./configure. The default is theGordon Henriksen2007-10-021-7/+1
| | | | | | | | | | | | stdlib if it's beneath --prefix, and is libdir/ocaml otherwise. If someone has a better way than this to test whether $B is a path within $A, I'd love to hear it: if test "$A" \< "$B" -a "$B" \< "${A}~" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42532 91177308-0d34-0410-b5e6-96231b3b80d8
* Added C and Ocaml bindings for functions, basic blocks, and Gordon Henriksen2007-09-261-0/+2
| | | | | | | | | | instruction creation. No support yet for instruction introspection. Also eliminated allocas from the Ocaml bindings for portability, and avoided unnecessary casts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42367 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix srcdir <> objdir builds with ocaml 2.10. Downrev versions don't care whetherGordon Henriksen2007-09-231-1/+2
| | | | | | | 'dir' exists in 'ocamldep -I dir ...', but recent ones demand that it actually exists. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42245 91177308-0d34-0410-b5e6-96231b3b80d8
* Incorporating review feedback for GC verifier patch.Gordon Henriksen2007-09-201-45/+76
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42163 91177308-0d34-0410-b5e6-96231b3b80d8
* git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42090 ↵Gordon Henriksen2007-09-181-0/+265
91177308-0d34-0410-b5e6-96231b3b80d8