diff options
| author | Tristan Partin <tristan@partin.io> | 2023-10-20 10:48:30 -0500 |
|---|---|---|
| committer | Xavier Claessens <xclaesse@gmail.com> | 2023-10-20 12:49:38 -0400 |
| commit | 46cedeb431a67cde1c26c6d936bdd84ea8392d6f (patch) | |
| tree | febdb824ec0dfc6265c51afa991abbabafeb3b65 /mesonbuild/msubprojects.py | |
| parent | 450b3db37810c99854f670cb70a59e0bee5b8777 (diff) | |
| download | meson-46cedeb431a67cde1c26c6d936bdd84ea8392d6f.tar.gz | |
Support -j as a shorthand for --num-processes
We already use -j to support parallelism in meson compile. So let's add
the same for meson test and meson subprojects.
Diffstat (limited to 'mesonbuild/msubprojects.py')
| -rwxr-xr-x | mesonbuild/msubprojects.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/msubprojects.py b/mesonbuild/msubprojects.py index 599d0b797..fb9a84713 100755 --- a/mesonbuild/msubprojects.py +++ b/mesonbuild/msubprojects.py @@ -638,7 +638,7 @@ def add_common_arguments(p: argparse.ArgumentParser) -> None: help='Path to source directory') p.add_argument('--types', default='', help=f'Comma-separated list of subproject types. Supported types are: {ALL_TYPES_STRING} (default: all)') - p.add_argument('--num-processes', default=None, type=int, + p.add_argument('-j', '--num-processes', default=None, type=int, help='How many parallel processes to use (Since 0.59.0).') p.add_argument('--allow-insecure', default=False, action='store_true', help='Allow insecure server connections.') |
