From 33872ff0e9c615541d9aeca09bc96e4de18d020d Mon Sep 17 00:00:00 2001 From: Mehdi Bouaziz Date: Thu, 25 Oct 2018 08:15:17 -0700 Subject: [PATCH] [buck] Disable C++ modules Reviewed By: martinoluca, ngorogiannis, jvillard Differential Revision: D10852668 fbshipit-source-id: 9f83e2cc8 --- infer/lib/python/inferlib/capture/buck.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/infer/lib/python/inferlib/capture/buck.py b/infer/lib/python/inferlib/capture/buck.py index 2b2c95bdf..6e2f0b7fd 100644 --- a/infer/lib/python/inferlib/capture/buck.py +++ b/infer/lib/python/inferlib/capture/buck.py @@ -121,6 +121,10 @@ class BuckAnalyzer: '*//infer.clang_plugin={plugin}'.format(plugin=plugin_path), '--config', '*//cxx.pch_enabled=false', + '--config', # Infer doesn't support C++ modules yet (T35656509) + '*//cxx.modules_default=0', + '--config', + '*//cxx.modules=False', ] + self.args.Xbuck if self.args.xcode_developer_dir is not None: