- Version: 10.0.0-rc
- Platform: all
- Subsystem: build
make can run multiple jobs in parallel by using the MAKEFLAGS env var or the -j flag (e.g. make -j4).
test.py runs in parallel through use of the JOBS env var or the -J or -j flags.
When test.py is called from make it uses a few different mechanisms to pass the parallelism factor which makes the build hard to reason about.
We should make the usage within Makefile more consistent so that it is easier to ensure that the build is working as fast as possible.
See also: #19919 (comment)