From: Tom Rini <trini@konsulko.com>
To: Simon Glass <sjg@chromium.org>
Cc: u-boot@lists.denx.de, Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Subject: Re: [PATCH 2/2] buildman: Add --allow-missing-binaries flag to build with BINMAN_ALLOW_MISSING=1
Date: Tue, 11 Oct 2022 12:22:35 -0400 [thread overview]
Message-ID: <20221011162235.GF2020586@bill-the-cat> (raw)
In-Reply-To: <CAPnjgZ1x+b5aOFX4G4UBw_1AWyXjxwGBbe0foPQCfm=vD_YK+Q@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2283 bytes --]
On Mon, Oct 10, 2022 at 05:48:55PM -0600, Simon Glass wrote:
> Hi Tom,
>
> On Mon, 10 Oct 2022 at 09:18, Tom Rini <trini@konsulko.com> wrote:
> >
> > Add a new flag to buildman so that we will in turn pass
> > BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI.
> >
> > Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
> > Cc: Simon Glass <sjg@chromium.org>
> > Signed-off-by: Tom Rini <trini@konsulko.com>
> > ---
> > .azure-pipelines.yml | 2 +-
> > .gitlab-ci.yml | 6 +++---
> > tools/buildman/builder.py | 5 ++++-
> > tools/buildman/builderthread.py | 2 ++
> > tools/buildman/cmdline.py | 3 +++
> > tools/buildman/control.py | 3 ++-
> > 6 files changed, 15 insertions(+), 6 deletions(-)
> >
> > diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
> > index f200b40dbb24..c932c2b3c619 100644
> > --- a/.azure-pipelines.yml
> > +++ b/.azure-pipelines.yml
> > @@ -553,7 +553,7 @@ stages:
> > cat << "EOF" >> build.sh
> > if [[ "${BUILDMAN}" != "" ]]; then
> > ret=0;
> > - tools/buildman/buildman -o /tmp -P -E -W ${BUILDMAN} ${OVERRIDE} || ret=$?;
> > + tools/buildman/buildman -o /tmp -P -E -W --allow-missing-binaries ${BUILDMAN} ${OVERRIDE} || ret=$?;
>
> This is fine for CI.
I think one of the issues here is we need to agree on the common use
cases. I don't think most people use buildman to build, they use make.
Of the people that do use buildman, how many aren't already using a
wrapper script? I know I always do. Can we also not just deal with
setting this flag in ~/.buildman ? Would it Just Work as:
[builder]
allow-missing-binaries = True
Or is more code needed?
> But having to provide a flag to do build testing seems like the tail
> is wagging the dog. Boards should be discouraged to use blobs and we
> don't want to make it hard for everyone else (who doesn't have the
> blobs) to test whether their patch breaks a build.
I'm not sure this ends up being a common case. If someone is build
testing for something they can't run test, the error is going to be
after whatever they compile-tested was compiled/linked, and if they're
testing everything it's via CI.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
next prev parent reply other threads:[~2022-10-11 16:22 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-10 15:18 [PATCH 1/2] global: Do not default to faking missing binaries for buildman Tom Rini
2022-10-10 15:18 ` [PATCH 2/2] buildman: Add --allow-missing-binaries flag to build with BINMAN_ALLOW_MISSING=1 Tom Rini
2022-10-10 23:48 ` Simon Glass
2022-10-11 16:22 ` Tom Rini [this message]
2022-10-12 12:59 ` Simon Glass
2022-10-12 14:52 ` Tom Rini
2022-10-13 9:28 ` Rasmus Villemoes
2022-10-14 15:56 ` Simon Glass
2022-10-14 16:44 ` Tom Rini
2022-10-18 16:59 ` Simon Glass
2022-10-10 23:49 ` [PATCH 1/2] global: Do not default to faking missing binaries for buildman Simon Glass
2022-10-11 6:41 ` Rasmus Villemoes
2022-10-11 14:16 ` Simon Glass
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=20221011162235.GF2020586@bill-the-cat \
--to=trini@konsulko.com \
--cc=rasmus.villemoes@prevas.dk \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
/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