meson/mesonbuild/utils
Paolo Bonzini 8b9846d9a9 mtest: move determine_worker_count to utils, generalize
It is useful to apply a limit to the number of processes even outside "meson test",
and specifically for clang tools.  In preparation for this, generalize
determine_worker_count() to accept a variable MESON_NUM_PROCESSES instead of
MESON_TESTTHREADS, and use it throughout instead of multiprocessing.cpu_count().

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2024-12-19 09:25:20 -08:00
..
__init__.py Move classes used by scripts to their own module 2022-09-28 19:36:13 -04:00
core.py limit wrapped-due-to-env special case for `env` to only apply for env.set 2024-06-23 23:02:43 -04:00
platform.py Use SPDX-License-Identifier consistently 2023-12-13 15:19:21 -05:00
posix.py Use SPDX-License-Identifier consistently 2023-12-13 15:19:21 -05:00
universal.py mtest: move determine_worker_count to utils, generalize 2024-12-19 09:25:20 -08:00
vsenv.py tests: fix test_vsenv_option with Python 3.11+ on Windows 2023-08-08 16:32:39 -04:00
win32.py Use SPDX-License-Identifier consistently 2023-12-13 15:19:21 -05:00