meson/mesonbuild/compilers/mixins
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 compilers: Move clike into a mixins directory 2019-07-15 10:59:22 -07:00
apple.py compilers: Allow prelinking with Apple Clang 2024-08-26 01:05:42 +03:00
arm.py Move OptionKey in the option source file. 2024-07-11 11:53:39 +03:00
ccrx.py compilers: remove hasattr from `can_compile_suffixes` 2024-10-01 10:39:23 -07:00
clang.py compilers: Pass `vs_module_defs` with `/DEF:` to LLD-LINK 2024-12-10 19:42:06 -08:00
clike.py Revert "meson: De-dup rpath arguments" 2024-10-31 17:31:26 -04:00
compcert.py Remove `get_buildtype_args` function 2023-12-23 13:32:49 +02:00
elbrus.py Remove language (AKA compiler) type from OptionKey. 2024-07-17 18:37:51 +03:00
emscripten.py flake8: move unused typing-only imports to TYPE_CHECKING 2024-07-30 14:13:11 -04:00
gnu.py mtest: move determine_worker_count to utils, generalize 2024-12-19 09:25:20 -08:00
intel.py Move OptionKey in the option source file. 2024-07-11 11:53:39 +03:00
islinker.py Remove `get_buildtype_args` function 2023-12-23 13:32:49 +02:00
metrowerks.py metrowerks: Pass warning flags to all subtools 2024-09-29 21:32:50 +03:00
pgi.py Move OptionKey in the option source file. 2024-07-11 11:53:39 +03:00
ti.py Remove `get_buildtype_args` function 2023-12-23 13:32:49 +02:00
visualstudio.py Add VS preview version. 2024-11-27 12:44:29 +02:00
xc16.py Remove `get_buildtype_args` function 2023-12-23 13:32:49 +02:00