diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-11-18 11:13:04 +0100 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2024-12-19 09:25:20 -0800 |
commit | 5dc537afd051e60ff00731f73e02d98138d9198b (patch) | |
tree | 1a68b81c09dfdb71654ed363e789f14346de3b25 /docs/markdown/snippets | |
parent | dafa6a7ac14f18e5a2529a2251fc6d552ea37547 (diff) | |
download | meson-5dc537afd051e60ff00731f73e02d98138d9198b.zip meson-5dc537afd051e60ff00731f73e02d98138d9198b.tar.gz meson-5dc537afd051e60ff00731f73e02d98138d9198b.tar.bz2 |
scripts: convert run_tool to asyncio
This improves the handling of keyboard interrupt, and also makes it easy to
buffer the output and not mix errors from different subprocesses. This
is useful for clang-tidy and will be used by clippy as well. In addition,
the new code supports MESON_NUM_PROCESSES.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/num-processes.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/markdown/snippets/num-processes.md b/docs/markdown/snippets/num-processes.md index e4ffdd1..c484d93 100644 --- a/docs/markdown/snippets/num-processes.md +++ b/docs/markdown/snippets/num-processes.md @@ -4,4 +4,5 @@ Previously, `meson test` checked the `MESON_TESTTHREADS` variable to control the amount of parallel jobs to run; this was useful when `meson test` is invoked through `ninja test` for example. With this version, a new variable `MESON_NUM_PROCESSES` is supported with a broader scope: in addition to -`meson test`, it is also used by the `external_project` module. +`meson test`, it is also used by the `external_project` module and by +Ninja targets that invoke `clang-tidy` and `clang-format`. |