From 78e6072f492babc8c4ccce3f4409abd00011754e Mon Sep 17 00:00:00 2001 From: Nikos Gorogiannis Date: Wed, 17 Jun 2020 08:21:10 -0700 Subject: [PATCH] [buck-clang] don't force number of buck threads Summary: Buck uses its own estimate for how many workers to spawn, there is no need to pass our own estimate for capture. Reviewed By: ezgicicek Differential Revision: D22065565 fbshipit-source-id: 4c062a9aa --- infer/src/integration/BuckFlavors.ml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/infer/src/integration/BuckFlavors.ml b/infer/src/integration/BuckFlavors.ml index c2e80c40d..d9affd587 100644 --- a/infer/src/integration/BuckFlavors.ml +++ b/infer/src/integration/BuckFlavors.ml @@ -24,8 +24,7 @@ let add_flavors_to_buck_arguments buck_mode ~extra_flavors original_buck_args = let capture_buck_args () = - ["--show-output"; "-j"; Int.to_string Config.jobs] - @ (if Config.keep_going then ["--keep-going"] else []) + ("--show-output" :: (if Config.keep_going then ["--keep-going"] else [])) @ (match Config.load_average with Some l -> ["-L"; Float.to_string l] | None -> []) @ Buck.config ClangFlavors @ List.rev Config.buck_build_args