From 050d90b356051ef2f0133f6503c82dfdb23c15ff Mon Sep 17 00:00:00 2001 From: Jeremy Dubreil Date: Tue, 13 Sep 2016 10:31:02 -0700 Subject: [PATCH] [infer][java] No longer disable the Buck daemon before running the anslysis Summary: We no longer need to disable the Buck daemon since we not pass the path to the compiler via the option `--config` instead of modifying the .buckconfig.local file Reviewed By: sblackshear Differential Revision: D3854109 fbshipit-source-id: 1126159 --- infer/lib/python/inferlib/bucklib.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/infer/lib/python/inferlib/bucklib.py b/infer/lib/python/inferlib/bucklib.py index a94d5a634..9295d0abf 100644 --- a/infer/lib/python/inferlib/bucklib.py +++ b/infer/lib/python/inferlib/bucklib.py @@ -86,10 +86,6 @@ def prepare_build(args): logging.error('Could not find infer') raise e - # Disable the use of buckd as this scripts modifies .buckconfig.local - logging.info('Disabling buckd: export NO_BUCKD=1') - os.environ['NO_BUCKD'] = '1' - # make sure INFER_ANALYSIS is set when buck is called logging.info('Setup Infer analysis mode for Buck: export INFER_ANALYSIS=1') os.environ['INFER_ANALYSIS'] = '1' @@ -397,7 +393,7 @@ def collect_results(args, start_time): def cleanup(temp_files): - """Removes the generated .buckconfig.local and the temporary infer script. + """Removes the temporary infer files. """ for file in temp_files: try: