[log] do not redirect output of InferAnalyze in the Makefiles

Summary:
There is not much to redirect except for an uninformative line before proper
logging files are set up. This is from before the current logging system, which
has builtin support for logging into custom files.

Reviewed By: jberdine

Differential Revision: D4365988

fbshipit-source-id: 044290a
master
Jules Villard 8 years ago committed by Facebook Github Bot
parent 24e6ae9ade
commit 24b7a50d1f

@ -100,9 +100,7 @@ let main makefile => {
| None => () | None => ()
}; };
switch Config.cluster_cmdline { switch Config.cluster_cmdline {
| Some fname => | Some fname => process_cluster_cmdline fname
L.stdout "Cluster %s@." fname;
process_cluster_cmdline fname
| None => | None =>
print_stdout_legend (); print_stdout_legend ();
if Config.allow_specs_cleanup { if Config.allow_specs_cleanup {

@ -41,5 +41,7 @@ let pp_cluster fmt (nr, cluster) =
let pp_cl fmt n = Format.fprintf fmt "%s" (cl_name n) in let pp_cl fmt n = Format.fprintf fmt "%s" (cl_name n) in
store_to_file (DB.filename_from_string fname) (nr, cluster); store_to_file (DB.filename_from_string fname) (nr, cluster);
F.fprintf fmt "%a: @\n" pp_cl nr; F.fprintf fmt "%a: @\n" pp_cl nr;
F.fprintf fmt "\t$(INFERANALYZE) -cluster %s >%a@\n" fname pp_cl nr; F.fprintf fmt "\t$(INFERANALYZE) -cluster '%s'@\n" fname;
(* touch the target of the rule to let `make` know that the job has been done *)
F.fprintf fmt "\t@@touch $@@@\n";
F.fprintf fmt "@\n" F.fprintf fmt "@\n"

Loading…
Cancel
Save