From 17341bc0fdd23617e3f2e81b0228ff9ecc5cb194 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 25 Aug 2021 11:21:03 +0200 Subject: Suppress loading external modules when con/disfiguring forwards --- bdep/sync.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bdep/sync.cxx') diff --git a/bdep/sync.cxx b/bdep/sync.cxx index 825ac3d..3ab3ab4 100644 --- a/bdep/sync.cxx +++ b/bdep/sync.cxx @@ -1117,7 +1117,13 @@ namespace bdep if (o != nullptr) { dir_path out (dir_path (cfg) /= pkg.name.string ()); + + // Note that --no-external-modules makes a difference for + // developing build system modules that require bootstrapping + // (which without that option would trigger a recursive sync). + // run_b (co, + "--no-external-modules", o, "'" + src.representation () + "'@'" + out.representation () + "',forward"); -- cgit v1.1