diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-01-13 12:48:42 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-01-13 12:48:42 +0200 |
commit | f91dcce80beb48bf8b444b472f4820a4ff2b33e5 (patch) | |
tree | 20a81c7a939ae09a7a3fb1db7d34cbe62537acf8 /libbuild2/adhoc-rule-cxx.cxx | |
parent | e21f9ae1a3e36160259a449e06ff52692e58b28c (diff) |
Make sure we don't work any existing tasks when building in module context
Diffstat (limited to 'libbuild2/adhoc-rule-cxx.cxx')
-rw-r--r-- | libbuild2/adhoc-rule-cxx.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/adhoc-rule-cxx.cxx b/libbuild2/adhoc-rule-cxx.cxx index 55f8ccb..4bf67f0 100644 --- a/libbuild2/adhoc-rule-cxx.cxx +++ b/libbuild2/adhoc-rule-cxx.cxx @@ -295,6 +295,11 @@ namespace build2 // context& ctx (*t.ctx.module_context); + // Mark the queue so that we don't work any tasks that may already be + // there. + // + scheduler::queue_mark qm (ctx.sched); + const uint16_t verbosity (3); // Project creation command verbosity. // Project and location signatures. |