[patch v1] nptl: smarter not-parallel-ing
Florian Weimer
fw@deneb.enyo.de
Wed Aug 14 05:54:00 GMT 2019
* DJ Delorie:
> Florian Weimer <fw@deneb.enyo.de> writes:
>>> Here $^ expands to "" because $(objpfx)tst-cleanup0.out is *also* listed
>>> in :|
>>
>> That's really odd. Why would $(objpfx)tst-cleanup0.out be listed for
>> the *same* rule? Doesn't this mean that $(ALLTESTS) contains duplicates?
>
> The sequencing for the :| rules happens to result in this one:
>
> $(objpfx)tst-cleanup0-cmp.out :| $(objpfx)tst-cleanup0.out
>
> The problem is that make filters out :| dependencies from $^ even if
> they're regular dependencies also.
Hmm. I don't see this with GNU make 4.2.1. I wonder if | targets are
filtered in your version of make, they are gone completely and do not
factor into the decision when a target has to be remade. That would
make nptl/Makefile slightly buggy.
More information about the Libc-alpha
mailing list