diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2021-06-14 14:58:45 -0400 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.com> | 2021-06-25 15:16:55 -0400 |
commit | 2b6fe00e3db2923eb3cec012e56bc754b10bcbdc (patch) | |
tree | 53a00fe2c3917ab0963d5e12362b77222ed6b05c /docs/markdown/snippets | |
parent | b95d6e319f18389c3a11408481335955bdff4e36 (diff) | |
download | meson-2b6fe00e3db2923eb3cec012e56bc754b10bcbdc.zip meson-2b6fe00e3db2923eb3cec012e56bc754b10bcbdc.tar.gz meson-2b6fe00e3db2923eb3cec012e56bc754b10bcbdc.tar.bz2 |
msubprojects: Run action on all subprojects in parallel
This moves all the code into a class and call its run() method in a
thread. The class queues all logs to print them at the end to avoid
mixing output of multiple actions.
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/subprojects_command_parallel.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/markdown/snippets/subprojects_command_parallel.md b/docs/markdown/snippets/subprojects_command_parallel.md new file mode 100644 index 0000000..4d992e7 --- /dev/null +++ b/docs/markdown/snippets/subprojects_command_parallel.md @@ -0,0 +1,7 @@ +## Parallelized `meson subprojects` commands + +All `meson subprojects` commands are now run on each subproject in parallel by +default. The number of processes can be controlled with `--num-processes` +argument. + +This speeds up considerably IO-bound operations such as downloads and git fetch. |