-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failure should print the command line that failed #4696
Comments
It turns out that make has a built-in facility for supressing commands ( |
It would not be hard to get our makefiles to work properly with There are hacks I am considering that might make this work... |
Oh, although it doesn't look like -s actually prints the command line if it failed... |
One way to do this would be to replace $(Q) with a function that we call. This function would run the command and echo it if it failed. This is an easy but large change, I think. |
Seems relevant, but will be obsolete with #5363 |
Assigning P-low. |
part of #8058 |
Triage: no change |
Triage: obsoleted by rustbuild, though rustbuild is not yet in place. |
Done! |
Far too often, I've done something like:
$ make check
(wait)
compile_and_link: x86_64-apple-darwin/test/coretest.stage2-x86_64-apple-darwin
*** build error of some sort...
Then I want to run the command that failed by itself, but I don't have it; I can either remember what it is, or run
VERBOSE=1 make check
and wait. It would be nice if a build failure printed out just the command line that caused the last error. I could run with VERBOSE all the time, but that does get very verbose.The text was updated successfully, but these errors were encountered: