Skip to contentSkip to conversation

buildman: Make -V (verbose_build) really be verbose

PATCH New Tom Rini 2 participants 4 messages Apr 1, 2015 – Apr 18, 2015

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 buildman: Make -V (verbose_build) really be verbose

The help text for -V says we will pass V=1 but all it really did was not pass in -s. Change the logic to pass make V=1 with given to buildman -V or -s to make otherwise.

---
 tools/buildman/builderthread.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
tools/buildman/builderthread.py +3 -1
index efb62f1..d7e7a78 100644
@@ -197,7 +197,9 @@ class BuilderThread(threading.Thread):
                         src_dir = os.getcwd()
                     else:
                         args.append('O=build')
-                if not self.builder.verbose_build:
+                if self.builder.verbose_build:
+                    args.append('V=1')
+                else:
                     args.append('-s')
                 if self.builder.num_jobs is not None:
                     args.extend(['-j', str(self.builder.num_jobs)])
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 buildman: Make -V (verbose_build) really be verbose

Hi Tom,

Quoted 10 lines · Tom Rini

The help text for -V says we will pass V=1 but all it really did was not pass in -s. Change the logic to pass make V=1 with given to buildman -V or -s to make otherwise.

---
 tools/buildman/builderthread.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

See also:

http://patchwork.ozlabs.org/patch/437051/

Quoted 16 lines
tools/buildman/builderthread.py +3 -2
index efb62f1..d7e7a78 100644
@@ -197,7 +197,9 @@ class BuilderThread(threading.Thread):
                         src_dir = os.getcwd()
                     else:
                         args.append('O=build')
-                if not self.builder.verbose_build:
+                if self.builder.verbose_build:
+                    args.append('V=1')
+                else:
                     args.append('-s')
                 if self.builder.num_jobs is not None:
                     args.extend(['-j', str(self.builder.num_jobs)])
--
Quoted 2 lines

1.7.9.5

Regards,
Simon

author
#2 lore raw

PATCH 1/1 buildman: Make -V (verbose_build) really be verbose

Quoted 7 lines · Simon Glass

Hi Tom,

Quoted 4 lines · Tom Rini

The help text for -V says we will pass V=1 but all it really did was not pass in -s. Change the logic to pass make V=1 with given to buildman -V or -s to make otherwise.

Quoted 8 lines
Quoted 6 lines
---
 tools/buildman/builderthread.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Thanks :)

Quoted 3 lines

See also:

http://patchwork.ozlabs.org/patch/437051/

Also useful, but I ran into this when I was going "what lds script does X use again? Lemme build, wait, lemme verbose build, wait, what?" and saw we didn't save the V=1 output just regular output.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150406/e0bfc9e9/attachment.sig>
#3 lore raw

PATCH 1/1 buildman: Make -V (verbose_build) really be verbose

Quoted 19 lines · Tom Rini
Quoted 7 lines · Simon Glass

Hi Tom,

Quoted 4 lines · Tom Rini

The help text for -V says we will pass V=1 but all it really did was not pass in -s. Change the logic to pass make V=1 with given to buildman -V or -s to make otherwise.

Quoted 8 lines
Quoted 6 lines
---
 tools/buildman/builderthread.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Thanks :)

Quoted 7 lines
Quoted 3 lines

See also:

http://patchwork.ozlabs.org/patch/437051/

Also useful, but I ran into this when I was going "what lds script does X use again? Lemme build, wait, lemme verbose build, wait, what?" and saw we didn't save the V=1 output just regular output.

Applied to u-boot-x86/buildman, thanks!