swh:1:snp:2d869aa00591d2ac8ec8e7abacdda563d413189d
Tip revision: 7596fdc31c9aa00aed281ccb026a74cabf2383bb authored by Roberto Di Cosmo on 18 February 2013, 15:36:43 UTC
Bumped up version to 1.0-rc1
Bumped up version to 1.0-rc1
Tip revision: 7596fdc
myocamlbuild.ml
open Ocamlbuild_plugin ;;
let _ = dispatch begin function
| After_rules ->
dep ["compile"; "c"] ["config.h"];
(* flag ["ocaml"; "compile"] & S[A"-ccopt"; A"-O9"]; *)
flag ["compile"; "c"] & S[ A"-ccopt"; A"-D_GNU_SOURCE"; A"-ccopt"; A"-fPIC" ];
flag ["link"; "library"; "ocaml"; "byte"; "use_libparmap"] &
S[A"-dllib"; A"-lparmap_stubs";];
flag ["link"; "library"; "ocaml"; "native"; "use_libparmap"] &
S[A"-cclib"; A"-lparmap_stubs"];
dep ["link"; "ocaml"; "use_libparmap"] ["libparmap_stubs.a"];
flag ["link"; "ocaml"; "link_libparmap"] (A"libparmap_stubs.a");
| _ -> ()
end