This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch v1] nptl: smarter not-parallel-ing


* 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]