RFR: 8325972: Add -x to bash for building with LOG=debug
Erik Joelsson
erikj at openjdk.org
Fri Feb 16 13:38:52 UTC 2024
On Thu, 15 Feb 2024 15:07:46 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> I don't understand why I have never thought of this before. If we add `-x` to the set of bash arguments when running with LOG=debug, we get output of *all* shell commands that make is running, even those for $(shell).
>
> This makes it soooo much easier to understand what is actually happening in the makefile! (To the point where we could actually consider moving other stuff away from the debug level.)
Marked as reviewed by erikj (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/17875#pullrequestreview-1885176231
More information about the build-dev
mailing list