https://gitorious.org/parmap/parmap.git
Tip revision: c8e87666a43e7f87e05fe24abc114533c3a7db7c authored by Francois Berenger on 14 June 2012, 01:40:45 UTC
removed all code related to redirection of stdout/stderr
removed all code related to redirection of stdout/stderr
Tip revision: c8e8766
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