Integrated: 8325972: Add -x to bash for building with LOG=debug
Magnus Ihse Bursie
ihse at openjdk.org
Mon Feb 19 16:14:57 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.)
This pull request has now been integrated.
Changeset: 8668198c
Author: Magnus Ihse Bursie <ihse at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/8668198c26bdac412f0a9d1255ca74da860761c5
Stats: 5 lines in 1 file changed: 4 ins; 0 del; 1 mod
8325972: Add -x to bash for building with LOG=debug
Reviewed-by: erikj
-------------
PR: https://git.openjdk.org/jdk/pull/17875
More information about the build-dev
mailing list