xref: /aosp_15_r20/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/myocamlbuild.ml (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Workeropen Ocamlbuild_plugin;;
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Workerocaml_lib ~extern:true "llvm";;
4*9880d681SAndroid Build Coastguard Workerocaml_lib ~extern:true "llvm_analysis";;
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Workerflag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"]);;
7