Commits

camlspotter committed b104a35

now uses opam llvm

  • Participants
  • Parent commits 1195206

Comments (0)

Files changed (4)

 
 OCAMLPACKS[]= 
     spotlib
-    ocaml-llvm
+    llvm
 
 OCAMLDEPFLAGS= -syntax camlp4o -package monad-custom
 OCAMLPPFLAGS= -syntax camlp4o -package monad-custom

llvm-ocamlfind/META.in

-requires = ""
-version = "[llvm 2.8]"
-description = "LLVM 2.8"
-directory = "^"
-browse_interfaces = " Llvm Llvm_analysis Llvm_bitreader Llvm_bitwriter Llvm_executionengine Llvm_scalar_opts Llvm_target "
-archive(byte) = "llvm.cma llvm_analysis.cma llvm_executionengine.cma llvm_bitreader.cma llvm_bitwriter.cma llvm_scalar_opts.cma llvm_target.cma"
-archive(native) = "llvm.cmxa llvm_analysis.cmxa llvm_executionengine.cmxa llvm_bitreader.cmxa llvm_bitwriter.cmxa llvm_scalar_opts.cmxa llvm_target.cmxa"
-linkopts = 

llvm-ocamlfind/README.txt

-ocaml-llvm-phantom requires the LLVM OCaml binding is available as an OCamlFind package.
-install-META.sh in this directory creates an META for the binding and install it as 'llvm' automatically.
-
-Usage:
-  ./install-META.sh

llvm-ocamlfind/install-META.sh

-#!/bin/sh
-
-(cat META.in
-
- echo -n '"-cc g++ '
- 
- for i in `llvm-config --libs --ldflags`
- do
-   echo -n "-cclib $i "
- done
- 
- echo '"') > META
-
-ocamlfind install ocaml-llvm META