[PATCH 0/5] Improve make and make check parallelism
Adhemerval Zanella Netto
adhemerval.zanella@linaro.org
Mon Jun 15 14:32:38 GMT 2026
On 15/06/26 11:15, Florian Weimer wrote:
> * Adhemerval Zanella:
>
>> The series does not aim to improve 'make check' with
>> run-built-tests=yes: subdirectories such as nptl require their tests
>> not to run in parallel.
>
> Based on my logs, it seems to me that nptl tests now run in parallel
> with other directories. Do others see this as well?
>
> This somewhat defeats the .NOTPARALLEL directive for nptl (and rt).
Yes, but nptl sub-make reads nptl/Makefile, hits .NOTPARALLEL and within
that process the nptl tests run one at a time.
Making the nptl's tests to additionally not overlap with other subdirs
(restore the old isolation), would need an explicit serialization edge
and that would erase much of the parallel-check speedup.
One option would to re-structure by changing 'make check' to run the
build tests first, and then actually run the tests and follow the
.NOTPARELLEL semantic.
More information about the Libc-alpha
mailing list