bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Vassilis Virvilis
Subject: [bug #54854] multi-target rules invoked too often with -j2
Date: Mon, 25 Mar 2024 14:27:34 -0400 (EDT)

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 real files (not
.PHONY). The problem is the second -j thread overwrites the output the first.
I agree that the solution is to restructure the rules in a way to avoid
behavior and this is what I have done but it took a while to figure it out.

Hopefully this thread will be findable by other people who may wonder about
the exact GNU Make behavior and possible workarounds.

Thanks again.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54854>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]