meson/mesonbuild/compilers
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
..
mixins mtest: move determine_worker_count to utils, generalize 2024-12-19 09:25:20 -08:00
__init__.py Use SPDX-License-Identifier consistently 2023-12-13 15:19:21 -05:00
asm.py compilers: change get_argument_syntax to static method 2024-08-07 10:33:08 -04:00
c.py compilers: Fix inconsistent option descriptions 2024-10-21 20:26:32 +03:00
c_function_attributes.py Add support for GCC's null_terminated_string_arg function attribute 2024-05-07 15:33:32 -07:00
compilers.py Add additional C++ filename extensions 2024-10-01 15:22:52 -07:00
cpp.py compilers: Fix inconsistent option descriptions 2024-10-21 20:26:32 +03:00
cs.py backend/ninja: use generate_basic_compiler_args() for C#, Java, Swift 2024-04-27 08:09:03 -07:00
cuda.py fix LDFLAGS for cuda 2024-09-06 16:00:19 -04:00
cython.py Rename langopt method 2024-07-12 15:53:15 +03:00
d.py flake8: move unused typing-only imports to TYPE_CHECKING 2024-07-30 14:13:11 -04:00
detect.py compilers/detect: remove unsupported -cpp flag for Clang preprocessor detection 2024-09-30 09:21:01 -07:00
fortran.py Reimplement several methods for Fortran compilers 2024-10-26 20:00:45 -07:00
java.py Remove `get_buildtype_args` function 2023-12-23 13:32:49 +02:00
objc.py flake8: move unused typing-only imports to TYPE_CHECKING 2024-07-30 14:13:11 -04:00
objcpp.py flake8: move unused typing-only imports to TYPE_CHECKING 2024-07-30 14:13:11 -04:00
rust.py rust: fix computation of library directory 2024-11-20 10:19:33 -08:00
swift.py backend/ninja: use generate_basic_compiler_args() for C#, Java, Swift 2024-04-27 08:09:03 -07:00
vala.py compilers: avoid one or more version_compare per target 2024-11-19 23:47:34 -05:00