* [PATCH] Use output synchronization for make for clearer output
@ 2023-01-14 22:01 Sam James
2023-01-15 16:37 ` Mark Wielaard
0 siblings, 1 reply; 2+ messages in thread
From: Sam James @ 2023-01-14 22:01 UTC (permalink / raw)
To: buildbot; +Cc: Sam James
Pass --output-sync=line to make to avoid noise when multiple jobs
(especially configures) are running in parallel.
Gentoo and opensuse are both using this for building gcc/gdb/binutils
because it makes logs much more legible.
---
builder/master.cfg | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/builder/master.cfg b/builder/master.cfg
index 8789dd5..d144008 100644
--- a/builder/master.cfg
+++ b/builder/master.cfg
@@ -963,26 +963,26 @@ getversion_step = steps.SetPropertyFromCommand(
command='grep PACKAGE_VERSION config.h | cut -f2 -d\\"',
property="package_version")
make_step = steps.Compile(
- command=["make", util.Interpolate('-j%(prop:ncpus)s')],
+ command=["make", "--output-sync=line", util.Interpolate('-j%(prop:ncpus)s')],
name="make",
haltOnFailure=True)
make_check_step = steps.Test(
- command=["make", "check", util.Interpolate('-j%(prop:ncpus)s')],
+ command=["make", "--output-sync=line", "check", util.Interpolate('-j%(prop:ncpus)s')],
name="make check", haltOnFailure=False, flunkOnFailure=True)
# Same as make_check_step but with tests/test-suite.log recorded
make_check_test_suite_step = steps.Test(
- command=["make", "check", util.Interpolate('-j%(prop:ncpus)s')],
+ command=["make", "--output-sync=line", "check", util.Interpolate('-j%(prop:ncpus)s')],
name="make check", haltOnFailure=False, flunkOnFailure=True,
logfiles={"test-suite.log": "tests/test-suite.log"})
make_distcheck_step = steps.Test(
- command=["make", "distcheck",
+ command=["make", "--output-sync=line", "distcheck",
util.Interpolate('-j%(prop:ncpus)s')],
name="make distcheck", haltOnFailure=False, flunkOnFailure=True,
timeout=3600)
# Same as make_distcheck_step but with tests/test-suite-log from _build
# Needs package_version and package_name properties set
make_distcheck_test_suite_step = steps.Test(
- command=["make", "distcheck",
+ command=["make", "--output-sync=line", "distcheck",
util.Interpolate('-j%(prop:ncpus)s')],
name="make distcheck", haltOnFailure=False, flunkOnFailure=True,
timeout=3600,
--
2.39.0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-15 16:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-14 22:01 [PATCH] Use output synchronization for make for clearer output Sam James
2023-01-15 16:37 ` Mark Wielaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).