[bug #54854] multi-target rules invoked too often with -j2

2024-03-25 Thread Paul D. Smith
Follow-up Comment #9, bug #54854 (group make): Hopefully it will solve it! That would be nice. Cheers! ___ Reply to this item at: ___ Message sent via

[bug #54854] multi-target rules invoked too often with -j2

2024-03-25 Thread Vassilis Virvilis
Follow-up Comment #8, bug #54854 (group make): Yep that's it. I can't believe how I missed this part. So a simple &: would solve the issue for me? !!! Wow !!! Definitely not my brightest moment. Thanks a lot. Much appreciated. ___ Repl

[bug #54854] multi-target rules invoked too often with -j2

2024-03-25 Thread Paul D. Smith
Follow-up Comment #7, bug #54854 (group make): If you can rely on having GNU Make 4.3 or better, you can use grouped explicit targets to get the same behavior make provides to pattern rules, with explicit rules: https://www.gnu.org/software/make/manual/html_node/Multiple-Targets.html If you must

[bug #54854] multi-target rules invoked too often with -j2

2024-03-25 Thread Vassilis Virvilis
Follow-up Comment #6, bug #54854 (group make): Thanks for taking the time to explain with a simple and easy to follow example. >From the looks of it I have to agree that this is a legitimate case and cannot to lead to a broken build. Unfortunately my case is a rule for a program that builds two

[bug #54854] multi-target rules invoked too often with -j2

2024-03-25 Thread Paul D. Smith
Follow-up Comment #5, bug #54854 (group make): Definitely there are a lot of valid uses. Generally, any time where you want to define the same recipe for lots of different targets but you don't want to have to write them all out one at a time. Your assertion that this construct is not common is

[bug #54854] multi-target rules invoked too often with -j2

2024-03-25 Thread Vassilis Virvilis
Follow-up Comment #4, bug #54854 (group make): [comment #3 comment #3:] > If by "a warning (or a note)" you mean something printed by GNU Make, instead of content in the documentation (this is already described there) then no, we can't do that, because this behavior has many uses, and is used in m

[bug #54854] multi-target rules invoked too often with -j2

2024-03-24 Thread Paul D. Smith
Follow-up Comment #3, bug #54854 (group make): If by "a warning (or a note)" you mean something printed by GNU Make, instead of content in the documentation (this is already described there) then no, we can't do that, because this behavior has many uses, and is used in many situations and in many

[bug #54854] multi-target rules invoked too often with -j2

2023-10-06 Thread Vassilis Virvilis
Follow-up Comment #2, bug #54854 (project make): I was also bitten by this. I understand the argument and why this is not considered a bug. Would you consider a warning (or a note) if multiple targets (without patterns) and -j N with N > 1 are used simultaneously? Thanks _

[bug #54854] multi-target rules invoked too often with -j2

2018-10-17 Thread Paul D. Smith
Update of bug #54854 (project make): Status:None => Not A Bug Open/Closed:Open => Closed ___ Follow-up Comment #1: This is not a bug, thi

[bug #54854] multi-target rules invoked too often with -j2

2018-10-17 Thread Bernhard M.
URL: Summary: multi-target rules invoked too often with -j2 Project: make Submitted by: bmwiedemann Submitted on: Wed 17 Oct 2018 11:08:15 AM UTC Severity: 3 - Normal It