3d841cb9d38aa98ba4fb15938e2124f67c000ca7 |
|
01-Nov-2013 |
Sylvestre Ledru <sylvestre@debian.org> |
OCaml bindings: fix typo Patch by Peter Zotov git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193845 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/ocaml/llvm/Makefile
|
6f274a5e81b028baa7290dd5645e8796850e8c7a |
|
09-Nov-2011 |
Wojciech Matyjewicz <wmatyjewicz@fastmail.fm> |
Minor fixes in Makefiles for the OCaml bindings: 1. Interface files (.mli) are installed before compiled interface files (.cmi) to preserve timestamp relation. 2. install-meta should use $(OcamlDir) instead of $(ObjDir). 3. Declared some targets as .PHONY. Patch by Christophe Raffalli. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144183 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/ocaml/llvm/Makefile
|
4c4b71cec57772fb06fb42227907888257bd85ab |
|
14-Oct-2011 |
Torok Edwin <edwintorok@gmail.com> |
ocaml bindings: add findlib META support This makes it easier to link against LLVM libs, especially if you are using _oasis. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141992 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/ocaml/llvm/Makefile
|
52248ff682e13315e5be08824bdd1d340e02d610 |
|
31-Aug-2009 |
Erick Tryzelaar <idadesub@users.sourceforge.net> |
Fix header comment for bindings/ocaml/llvm/Makefile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80526 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/ocaml/llvm/Makefile
|
1d97ca85add3b5f3ff19370c7ab903e2ed4dbe7a |
|
24-Jun-2009 |
Chris Lattner <sabre@nondot.org> |
remove dead makefile flags. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74064 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/ocaml/llvm/Makefile
|
57360d1f1cede3b26744d0ce3ade814fcc0f332d |
|
29-Dec-2007 |
Chris Lattner <sabre@nondot.org> |
remove attributions from the rest of the llvm makefiles. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45416 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/ocaml/llvm/Makefile
|
c0491ac8b6c24a7d0db8c0a60f76cfb1d66f84ab |
|
06-Oct-2007 |
Gordon Henriksen <gordonhenriksen@mac.com> |
Bindings for the verifier. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42707 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/ocaml/llvm/Makefile
|
8ef426baa36639458f6777309db25c1768dc9c8a |
|
18-Sep-2007 |
Gordon Henriksen <gordonhenriksen@mac.com> |
Adding ocaml language bindings for the vmcore and bitwriter libraries. These are built atop the C language bindings, and user programs can link with them as such: # Bytecode ocamlc -cc g++ llvm.cma llvmbitwriter.cma -o example example.ml # Native ocamlopt -cc g++ llvm.cmxa llvmbitwriter.cmxa -o example.opt example.ml The vmcore.ml test exercises most/all of the APIs thus far bound. Unfortunately, they're not yet numerous enough to write hello world. But: $ cat example.ml (* example.ml *) open Llvm open Llvm_bitwriter let _ = let filename = Sys.argv.(1) in let m = create_module filename in let v = make_int_constant i32_type 42 false in let g = define_global "hello_world" v m in if not (write_bitcode_file m filename) then exit 1; dispose_module m; $ ocamlc -cc g++ llvm.cma llvm_bitwriter.cma -o example example.ml File "example.ml", line 11, characters 6-7: Warning Y: unused variable g. $ ./example example.bc $ llvm-dis < example.bc ; ModuleID = '<stdin>' @hello_world = global i32 42 ; <i32*> [#uses=0] The ocaml test cases provide effective tests for the C interfaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42093 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/ocaml/llvm/Makefile
|