From: Mark Wielaard <mark@klomp.org>
To: buildbot@sourceware.org
Cc: Mark Wielaard <mark@klomp.org>
Subject: [PATCH] Add config.log to logfiles for configure build steps
Date: Sun, 29 Jan 2023 20:32:56 +0100 [thread overview]
Message-ID: <20230129193256.135403-1-mark@klomp.org> (raw)
---
builder/master.cfg | 57 ++++++++++++++++++++++++++++++----------------
1 file changed, 38 insertions(+), 19 deletions(-)
diff --git a/builder/master.cfg b/builder/master.cfg
index c308048..c7e7684 100644
--- a/builder/master.cfg
+++ b/builder/master.cfg
@@ -976,7 +976,8 @@ autoreconf_step = steps.ShellCommand(
configure_step = steps.Configure(
command=["./configure",
"--enable-maintainer-mode"],
- name="configure", haltOnFailure=True)
+ name="configure", haltOnFailure=True,
+ logfiles={"config.log": "config.log"})
# Sets package_version property so it can be used from a next step
# Gets version from the config.h files, so needs to be run after
# configure. Normally used together with package_name property as
@@ -1606,33 +1607,38 @@ elfutils_configure_valgrind_step = steps.Configure(
command=["./configure",
"--enable-maintainer-mode",
"--enable-valgrind"],
- name="configure", haltOnFailure=True)
+ name="configure", haltOnFailure=True,
+ logfiles={"config.log": "config.log"})
# configure with running tests under valgrind and undefined sanitized enabled.
elfutils_configure_valgrind_undefined_step = steps.Configure(
command=["./configure",
"--enable-maintainer-mode",
"--enable-sanitize-undefined",
"--enable-valgrind"],
- name="configure", haltOnFailure=True)
+ name="configure", haltOnFailure=True,
+ logfiles={"config.log": "config.log"})
# configure with address sanitizer enabled explicitly.
elfutils_configure_address_step = steps.Configure(
command=["./configure",
"--enable-maintainer-mode",
"--enable-sanitize-address"],
- name="configure", haltOnFailure=True)
+ name="configure", haltOnFailure=True,
+ logfiles={"config.log": "config.log"})
# configure with undefined sanitizer enabled explicitly.
elfutils_configure_undefined_step = steps.Configure(
command=["./configure",
"--enable-maintainer-mode",
"--enable-sanitize-undefined"],
- name="configure", haltOnFailure=True)
+ name="configure", haltOnFailure=True,
+ logfiles={"config.log": "config.log"})
# configure with undefined and address sanitizer enabled explicitly.
elfutils_configure_address_undefined_step = steps.Configure(
command=["./configure",
"--enable-maintainer-mode",
"--enable-sanitize-undefined",
"--enable-sanitize-address"],
- name="configure", haltOnFailure=True)
+ name="configure", haltOnFailure=True,
+ logfiles={"config.log": "config.log"})
# Upload automake test results, autoconf config.log, in both build and dist-build trees
elfutils_upload_to_bunsen = bunsen_logfile_upload_cpio_steps(
@@ -1987,7 +1993,8 @@ gccrust_configure_step = steps.Configure(
'--disable-libcc1',
'--disable-libvtv'],
name='configure',
- haltOnFailure=True)
+ haltOnFailure=True,
+ logfiles={"config.log": "config.log"})
gccrust_configure_bootstrap_step = steps.Configure(
workdir='gccrs-build',
@@ -2002,7 +2009,8 @@ gccrust_configure_bootstrap_step = steps.Configure(
'--disable-libcc1',
'--disable-libvtv'],
name='configure',
- haltOnFailure=True)
+ haltOnFailure=True,
+ logfiles={"config.log": "config.log"})
gccrust_make_step = steps.Compile(
workdir='gccrs-build',
@@ -2192,7 +2200,8 @@ binutils_step_configure = steps.Configure(
'--enable-shared',
'--enable-targets=all'],
name='configure',
- haltOnFailure=True)
+ haltOnFailure=True,
+ logfiles={"config.log": "config.log"})
binutils_step_configure_libctf = steps.Configure(
workdir='binutils-build',
command=['../binutils-gdb/configure',
@@ -2201,7 +2210,8 @@ binutils_step_configure_libctf = steps.Configure(
'--enable-targets=all',
'--enable-libctf'],
name='configure',
- haltOnFailure=True)
+ haltOnFailure=True,
+ logfiles={"config.log": "config.log"})
binutils_step_compile = steps.Compile(
workdir='binutils-build',
command=addOutputSync.withArgs(['make',
@@ -2555,7 +2565,8 @@ gdb_configure_step = steps.Configure(
command=['../binutils-gdb/configure',
'--enable-targets=all'],
name='configure',
- haltOnFailure=True)
+ haltOnFailure=True,
+ logfiles={"config.log": "config.log"})
# Use on 32bit platforms, building sim is broken
gdb_configure_32_step = steps.Configure(
workdir='gdb-build',
@@ -2563,7 +2574,8 @@ gdb_configure_32_step = steps.Configure(
'--enable-targets=all',
'--disable-sim'],
name='configure',
- haltOnFailure=True)
+ haltOnFailure=True,
+ logfiles={"config.log": "config.log"})
gdb_make_step = steps.Compile(
workdir='gdb-build',
command=addOutputSync.withArgs(['make',
@@ -2965,7 +2977,8 @@ def binutils_gdb_factory_factory(runtestflags=None):
binutils_gdb_factory.addStep(steps.Configure(
command=['./configure'],
name='configure',
- haltOnFailure=True))
+ haltOnFailure=True,
+ logfiles={"config.log": "config.log"}))
binutils_gdb_factory.addStep(steps.Compile(
command=addOutputSync.withArgs(['make',
util.Interpolate('-j%(prop:ncpus)s'),
@@ -3043,7 +3056,8 @@ gcc_rm_build_step = steps.ShellCommand(
gcc_configure_step = steps.Configure(
command=['./configure'],
name='configure',
- haltOnFailure=True)
+ haltOnFailure=True,
+ logfiles={"config.log": "config.log"})
gcc_build_configure_step = steps.Configure(
workdir='gcc-build',
@@ -3053,7 +3067,8 @@ gcc_build_configure_step = steps.Configure(
'--enable-checking=no',
'--disable-multilib'],
name='configure',
- haltOnFailure=True)
+ haltOnFailure=True,
+ logfiles={"config.log": "config.log"})
gcc_build_make_clean_step = steps.ShellCommand(
workdir='gcc-build',
@@ -3068,7 +3083,8 @@ gcc_factory.addStep(steps.Configure(
'--disable-bootstrap',
'--enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto'],
name='configure',
- haltOnFailure=True))
+ haltOnFailure=True,
+ logfiles={"config.log": "config.log"}))
gcc_factory.addStep(steps.Compile(
command=addOutputSync.withArgs(['make',
util.Interpolate('-j%(prop:ncpus)s'),
@@ -3224,7 +3240,8 @@ def gcc_full_build_factory_gen(extra_configure_arg=None):
workdir='gcc-build',
command=configure_command,
name='configure',
- haltOnFailure=True)
+ haltOnFailure=True,
+ logfiles={"config.log": "config.log"})
gcc_full_build_factory.addStep(gcc_full_build_configure_step)
gcc_full_build_factory.addStep(steps.Compile(
workdir='gcc-build',
@@ -3301,7 +3318,8 @@ glibc_configure_step = steps.Configure(
workdir='glibc-build',
command=['../glibc/configure', '--prefix=/usr'],
name='configure',
- haltOnFailure=True)
+ haltOnFailure=True,
+ logfiles={"config.log": "config.log"})
glibc_make_step = steps.Compile(
workdir='glibc-build',
@@ -3947,7 +3965,8 @@ systemtap_factory.addStep(steps.Configure(
workdir="stap-build",
command=["../systemtap/configure", util.Interpolate ("--prefix=%(prop:builddir)s/stap-build/INST")],
name="configure",
- haltOnFailure=True))
+ haltOnFailure=True,
+ logfiles={"config.log": "config.log"}))
systemtap_factory.addStep(steps.Compile(
workdir='stap-build',
command=addOutputSync.withArgs(['make', 'V=1',
--
2.31.1
reply other threads:[~2023-01-29 19:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230129193256.135403-1-mark@klomp.org \
--to=mark@klomp.org \
--cc=buildbot@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).