Hi Paul,
Paul Smith wrote:
On Fri, 2014-05-23 at 21:51 +0200, Erik Rull wrote:
Is there a possibility to let the other sub-makes to abort if one
sub-make has an error?
This has been requested, but the details are not so straightforward.
Discussion and enhancement request here:
https://savannah.gnu.org/bugs/index.php?41781
interesting to read - to me, if I'm allowed to bring up feature requests at
this point, it would already be helpful to see at the end of all make
outputs that at least one sub-make has failed - even if all other sub-makes
ran successfully. Sometimes the error is hidden some 1000 lines of terminal
output above... Maybe this output might be added with something like "-kv"
(Keep going verbose)...
In addition the "token" feature that new jobs are allowed to be
created/started sounds not bad. This would allow in case of an error in a
sub-make to let all other running jobs finish, then safety "close" all
pending sub-makes recursively (new return code) and finally print out an
error message which sub-make has aborted (the one that killed the token),
etc...
This should prevent "hard aborts" of running make rules and shut down the
make process safely.
Best regards,
Erik
_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make