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

Florian Weimer fw@deneb.enyo.de
Wed Aug 14 05:34:00 GMT 2019


* DJ Delorie:

> Florian Weimer <fw@deneb.enyo.de> writes:
>>>  $(objpfx)tst-cleanup0-cmp.out: tst-cleanup0.expect $(objpfx)tst-cleanup0.out
>>> -	cmp $^ > $@; \
>>> +	cmp tst-cleanup0.expect $(objpfx)tst-cleanup0.out > $@; \
>>>  	$(evaluate-test)
>>
>> Why is this needed if | prerequisites are not listed in $^?
>
> 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?



More information about the Libc-alpha mailing list