Advertisement
Guest User

Untitled

a guest
Jun 8th, 2016
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. philip@debian:~/src/kaleidoscope-ocaml$ ls
  2. ast.ml _build codegen.ml lexer.ml myocamlbuild.ml parser.ml _tags _tags~ token.ml toplevel.ml toy.byte toy.ml toy.native
  3. philip@debian:~/src/kaleidoscope-ocaml$ cat _tags
  4. <{lexer,parser}.ml>: use_camlp4, pp(camlp4of)
  5. <*.{byte,native}>: g++, use_llvm, use_llvm_analysis
  6.  
  7. philip@debian:~/src/kaleidoscope-ocaml$ cat myocamlbuild.ml
  8. open Ocamlbuild_plugin;;
  9.  
  10. ocaml_lib ~extern:true "llvm";;
  11. ocaml_lib ~extern:true "llvm_analysis";;
  12.  
  13. flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"]);;
  14. philip@debian:~/src/kaleidoscope-ocaml$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement