Turn on ondemand for the tracing mode

Reviewed By: cristianoc

Differential Revision: D2895107

fb-gh-sync-id: cc27d4f
shipit-source-id: cc27d4f
master
jrm 9 years ago committed by facebook-github-bot-5
parent 2a926d8294
commit 8eb73bf39d

@ -430,7 +430,8 @@ class Infer:
elif self.args.project_root: elif self.args.project_root:
infer_options += ['-project_root', self.args.project_root] infer_options += ['-project_root', self.args.project_root]
if self.args.analyzer in [config.ANALYZER_CHECKERS]: if self.args.analyzer in [config.ANALYZER_CHECKERS,
config.ANALYZER_TRACING]:
os.environ['INFER_ONDEMAND'] = 'Y' os.environ['INFER_ONDEMAND'] = 'Y'
os.environ['INFER_OPTIONS'] = ' '.join(infer_options) os.environ['INFER_OPTIONS'] = ' '.join(infer_options)

Loading…
Cancel
Save