[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #19108] Pattern rules with multiple target patterns do not honor th
[bug #19108] Pattern rules with multiple target patterns do not honor the dependencies of all targets correctly
Thu, 21 Jun 2007 18:15:17 +0000
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:220.127.116.11) Gecko/20070515 Firefox/18.104.22.168
Follow-up Comment #3, bug #19108 (project make):
I think I'm seeing some symptoms that are essentially the same bug. I'm using
I have a rule that generates N targets from some dependencies using a set of
commands, setup just like the original poster.
If I run "make", everything is fine; the commands are run once, and make
knows that all the N targets have been updated just fine.
However, if I run "make -j 2", make spawns off two copies of the commands,
presumably because when it's attempting to build each of the N targets, it
doesn't check the "make_also" to see if some other target of this rule is
already being built. Once a target has finished building, it marks all the
"make_also" as being built, and so doesn't spawn the commands again for the
other N-2 targets.
Probably, the original reporter's problem is also a lack of checking
make_also, but in this case, a lack of checking the dependencies rather than
the build-in-progress value of the make_also targets.
Reply to this item at:
Message sent via/by Savannah
- [bug #19108] Pattern rules with multiple target patterns do not honor the dependencies of all targets correctly,