Re: [PATCH] make: Also print -de error information when running multiple jobs
[email protected] (Christos Zoulas)
| Newsgroups | gmane.os.netbsd.devel.toolchain |
|---|---|
| Message-ID | <[email protected]> |
In article <CA+Z_v8qjVve7GDOWJLFB86NmFQdqFB19hmZC8_HdzU49_BOPcQ@mail.gmail.com>, Alexander Richardson <[email protected]> wrote: >-=-=-=-=-=- > >Hello all, > >I recently submitted a minor make(1) change request to FreeBSD and >would like to suggest this upstream. >I've attached the patch rebased on the latest revision from >https://github.com/NetBSD/src. >Please let me know what you think. > >Problem and patch description from https://reviews.freebsd.org/D29647: > >When running `make -de` (without any -j flag) bmake prints which command >failed. However, when using the -j flag the -de flag is ignored. This can >make it rather difficult to determine which command failed in an very >parallel build (especially when combined with the -s flag to avoid >ridiculously large logfiles). For single-threaded builds we can combine >-s with -de to get the failed command but this does not work with -jN >(even with -j1). This patch prints the failed shell script with -de in the >multiple jobs mode as well. Committed, thanks! christos