[config] remove dead flag

Summary: `call-graph-schedule` was a boolean, now we have a variant type for scheduler.

Reviewed By: jvillard

Differential Revision: D29547773

fbshipit-source-id: ec787065c
master
Nikos Gorogiannis 3 years ago committed by Facebook GitHub Bot
parent 68356a40d2
commit 0f4394503b

@ -1502,10 +1502,6 @@ INTERNAL OPTIONS
--buck-targets-blacklist-reset --buck-targets-blacklist-reset
Set --buck-targets-blacklist to the empty list. Set --buck-targets-blacklist to the empty list.
--call-graph-schedule
Activates: use call graph for scheduling analysis (Conversely:
--no-call-graph-schedule)
--no-capture --no-capture
Deactivates: capture and translate source files into infer's Deactivates: capture and translate source files into infer's
intermediate language for analysis (Conversely: --capture) intermediate language for analysis (Conversely: --capture)

@ -11,7 +11,6 @@
open! IStd open! IStd
module F = Format module F = Format
module L = Logging module L = Logging
module CLOpt = CommandLineOption
let clear_caches_except_lrus () = let clear_caches_except_lrus () =
Summary.OnDisk.clear_cache () ; Summary.OnDisk.clear_cache () ;
@ -134,10 +133,6 @@ let get_source_files_to_analyze ~changed_files =
let tasks_generator_builder_for sources = let tasks_generator_builder_for sources =
if Config.call_graph_schedule then (
CLOpt.warnf "WARNING: '--call-graph-schedule' is deprecated. Use '--scheduler' instead.@." ;
SyntacticCallGraph.make sources )
else
match Config.scheduler with match Config.scheduler with
| File -> | File ->
FileScheduler.make sources FileScheduler.make sources

@ -856,10 +856,6 @@ and buck_targets_blacklist =
$(b,--buck-compilation-database)." $(b,--buck-compilation-database)."
and call_graph_schedule =
CLOpt.mk_bool ~long:"call-graph-schedule" ~default:false "use call graph for scheduling analysis"
and capture = and capture =
CLOpt.mk_bool ~long:"capture" ~default:true CLOpt.mk_bool ~long:"capture" ~default:true
"capture and translate source files into infer's intermediate language for analysis" "capture and translate source files into infer's intermediate language for analysis"
@ -2942,8 +2938,6 @@ and buck_mode : BuckMode.t option =
and buck_targets_blacklist = RevList.to_list !buck_targets_blacklist and buck_targets_blacklist = RevList.to_list !buck_targets_blacklist
and call_graph_schedule = !call_graph_schedule
and capture = !capture and capture = !capture
and capture_blacklist = !capture_blacklist and capture_blacklist = !capture_blacklist

@ -191,8 +191,6 @@ val buck_out_gen : string
val buck_targets_blacklist : string list val buck_targets_blacklist : string list
val call_graph_schedule : bool
val capture : bool val capture : bool
val capture_blacklist : string option val capture_blacklist : string option

Loading…
Cancel
Save