|
From: | Erik Rull |
Subject: | Re: Jobserver based make aborts delayed... |
Date: | Sun, 13 Jul 2014 12:14:22 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26.1 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |