[PATCH v2 0/6] Improve make and make check parallelism

Carlos O'Donell carlos@redhat.com
Wed Jun 17 11:46:09 GMT 2026


On 6/16/26 10:28 PM, Sam James wrote:
> Adhemerval Zanella Netto <adhemerval.zanella@linaro.org> writes:
>> On 16/06/26 17:06, DJ Delorie wrote:
>> The flock *might* be a interesting approach because during trying to parallelize
>> the build I hit two issues where shared file is produced lazily by a non-csu
>> subdir (csu gen-as-const headers and the catgets locales, handled in the third
>> patch - and I am continuously running multiple parallel builds to if I missed
>> something).
> 
> Let's try avoid that for now though I appreciate it's attractive because
> of the subdirs. libgomp does do this outside of Makefiles
> (https://gcc.gnu.org/PR66005) and they use a Perl fallback.
> 
> But I've not seen it done elsewhere and any solution where Make is not
> aware of the depgraph is likely to cause more problems later (even if
> just lost parallelisation).

Agreed.

-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list