[infer][buck] run Infer in single core on Buck projects

Summary: Fixing the support for single core analysis in 8ce79a0613 was improving the performance of the genrule-based integration by more that 2X. Running Infer in single core more with the external compiler integration for Buck also improves the performance significantly.

Reviewed By: mbouaziz

Differential Revision: D7989255

fbshipit-source-id: 71fb842
master
Jeremy Dubreil 7 years ago committed by Facebook Github Bot
parent 5ed2016899
commit fe0debedb6

@ -49,7 +49,7 @@ def prepare_build(args):
configuration that tells buck to use that script. configuration that tells buck to use that script.
""" """
infer_options = ['--buck'] infer_options = ['--buck', '--jobs', '1']
if args.java_jar_compiler is not None: if args.java_jar_compiler is not None:
infer_options += [ infer_options += [

Loading…
Cancel
Save