diff options
-rw-r--r-- | bdep/deinit.cxx | 3 | ||||
-rw-r--r-- | bdep/sync.cxx | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/bdep/deinit.cxx b/bdep/deinit.cxx index 0018aaf..00eba45 100644 --- a/bdep/deinit.cxx +++ b/bdep/deinit.cxx @@ -67,7 +67,10 @@ namespace bdep src /= i->path; } + // See sync for details on --no-external-modules. + // run_b (o, + "--no-external-modules", "disfigure:", "'" + src.representation () + "'@'" + out.representation () + "',forward"); 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"); |