From: Mark Wielaard <mark@klomp.org>
To: buildbot@sourceware.org
Cc: Mark Wielaard <mark@klomp.org>
Subject: [PATCH] Separate src and build dirs for gcc_build_factory
Date: Mon, 4 Jul 2022 02:34:26 +0200 [thread overview]
Message-ID: <20220704003426.124298-1-mark@klomp.org> (raw)
---
builder/master.cfg | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/builder/master.cfg b/builder/master.cfg
index 9487c2e..f8d3913 100644
--- a/builder/master.cfg
+++ b/builder/master.cfg
@@ -2356,6 +2356,20 @@ gcc_git_step = steps.Git(
name="git checkout",
haltOnFailure=True)
+gcc_build_git_step = steps.Git(
+ workdir='gcc',
+ repourl=gcc_repourl,
+ mode='full', method='fresh',
+ retryFetch=True, retry=(30,3),
+ name="git checkout",
+ haltOnFailure=True)
+
+gcc_rm_build_step = steps.ShellCommand(
+ command=["rm", "-rf",
+ util.Interpolate ("%(prop:builddir)s/gcc-build")],
+ name="rm -rf gcc-build",
+ haltOnFailure=True)
+
gcc_configure_step = steps.Configure(
command=['./configure'],
name='configure',
@@ -2401,7 +2415,8 @@ gcc_fedrawhide_x86_64_builder = util.BuilderConfig(
c['builders'].append(gcc_fedrawhide_x86_64_builder)
gcc_build_factory = util.BuildFactory()
-gcc_build_factory.addStep(gcc_git_step)
+gcc_build_factory.addStep(gcc_build_git_step)
+gcc_build_factory.addStep(gcc_rm_build_step)
gcc_build_factory.addStep(gcc_build_configure_step)
gcc_build_factory.addStep(steps.Compile(
command=['make', util.Interpolate('-j%(prop:ncpus)s')],
--
2.30.2
reply other threads:[~2022-07-04 0:36 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=20220704003426.124298-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).