[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #57692] Parallel make doesn't work well with grouped targets
From: |
Robert Sachunsky |
Subject: |
[bug #57692] Parallel make doesn't work well with grouped targets |
Date: |
Sun, 10 May 2020 18:49:12 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0 Waterfox/56.3 |
Follow-up Comment #2, bug #57692 (project make):
Still, I believe this new syntax should really be listed in *.FEATURES*
That way, makefiles which want to employ this (highly valued!) new feature,
can be written in a way that older versions of make can still run them.
The documentation should also reflect that, perhaps with an example like:
ifeq ($(filter grouped-targets,$(.FEATURES)),grouped-targets)
# use new syntax:
output1 output2 &: prereq
produce -from prereq output1 output2
else
# use multi-target rule, and disable parallelism globally
.NOTPARALLEL:
endif
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57692>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #57692] Parallel make doesn't work well with grouped targets,
Robert Sachunsky <=