diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-06-29 21:13:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-29 21:13:25 +0300 |
commit | 6337e40115278fffd8b331d5a32324167e196c1b (patch) | |
tree | 7d9323158ec59d2c3121a98e37537847baa361cf /docs/markdown | |
parent | 563f4c7b9feec3c16518130dd2c3bc2ff967bc90 (diff) | |
parent | 4aaccdb6ba20cdd4ffc5072393afe9a388587d34 (diff) | |
download | meson-6337e40115278fffd8b331d5a32324167e196c1b.zip meson-6337e40115278fffd8b331d5a32324167e196c1b.tar.gz meson-6337e40115278fffd8b331d5a32324167e196c1b.tar.bz2 |
Merge pull request #8882 from xclaesse/msubprojects-parallel
msubprojects: Run action on all subprojects in parallel
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/Commands.md | 4 | ||||
-rw-r--r-- | docs/markdown/snippets/subprojects_command_parallel.md | 7 |
2 files changed, 10 insertions, 1 deletions
diff --git a/docs/markdown/Commands.md b/docs/markdown/Commands.md index aa538b1..3f3cf9f 100644 --- a/docs/markdown/Commands.md +++ b/docs/markdown/Commands.md @@ -228,7 +228,9 @@ meson setup builddir {{ subprojects_usage.inc }} -Manages subprojects of the Meson project. +Manages subprojects of the Meson project. *Since 0.59.0* commands are run on +multiple subprojects in parallel by default, use `--num-processes=1` if it is +not desired. {{ subprojects_arguments.inc }} 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. |