All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Daniel Kiper <dkiper@net-space.pl>
Cc: grub-devel@gnu.org
Subject: Re: [PATCH 2/4] travis: Fix sparc64 build
Date: Tue, 22 Sep 2020 00:19:20 +0200	[thread overview]
Message-ID: <20200921221920.GA36945@x230> (raw)
In-Reply-To: <20200917134823.hzgs7i257r3u5if7@tomti.i.net-space.pl>

Hi Daniel,

thanks for merging first commit.

> On Wed, Sep 09, 2020 at 10:02:19PM +0200, Petr Vorel wrote:
> > Instead non-existing sparc64-ieee1275 format use all 3 sparc64 formats:
> > sparc64-ieee1275-{aout,cdcore,raw}.

> > Signed-off-by: Petr Vorel <pvorel@suse.cz>
> > ---
> >  .travis.yml | 6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)

> > diff --git a/.travis.yml b/.travis.yml
> > index 4bd05a30a..d019a0172 100644
> > --- a/.travis.yml
> > +++ b/.travis.yml
> > @@ -40,8 +40,8 @@ script:

> >    # Build all selected GRUB targets.
> >    - for target in $GRUB_TARGETS; do
> > -      plat=${target#*-};
> > -      arch=${target%-*};
> > +      arch=$(echo $target | cut -d- -f1);
> > +      plat=$(echo $target | cut -d- -f2);

> I think it should be: plat=$(echo $target | cut -d- -f2-);
> Note dash after "2"...
No, this way it breaks sparc64 [1] (and does not help to fix mips [2]
nor risc32 either).

It looks like it's this error:
configure: error: platform "ieee1275-raw" is not supported for target CPU "sparc64"

but I need to debug it more to see what's wrong.

Kind regards,
Petr

> Though I would prefer this:
>   arch=$(echo "$target" | cut -d - -f 1);
>   plat=$(echo "$target" | cut -d - -f 2-);

> Daniel

Kind regards,
Petr

[1] https://travis-ci.org/github/pevik/grub/jobs/728077121
[2] https://travis-ci.org/github/pevik/grub/jobs/728077123
[3] https://travis-ci.org/github/pevik/grub/jobs/728077126


  reply	other threads:[~2020-09-21 22:19 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-09 20:02 [PATCH 0/4] Fix Travis CI Petr Vorel
2020-09-09 20:02 ` [PATCH 1/4] travis: Run bootstrap to fix build Petr Vorel
2020-09-17 13:41   ` Daniel Kiper
2020-09-09 20:02 ` [PATCH 2/4] travis: Fix sparc64 build Petr Vorel
2020-09-17 13:48   ` Daniel Kiper
2020-09-21 22:19     ` Petr Vorel [this message]
2020-09-22  9:05       ` Petr Vorel
2020-09-09 20:02 ` [PATCH 3/4] travis: Remove mips builds Petr Vorel
2020-09-17 13:50   ` Daniel Kiper
2020-09-17 14:17     ` Petr Vorel
2020-09-22  9:14     ` Petr Vorel
2020-10-27 19:53       ` Daniel Kiper
2020-09-09 20:02 ` [PATCH 4/4] travis: Remove riscv32 build Petr Vorel
2020-09-22  9:20   ` Petr Vorel
2020-10-27 20:06     ` Daniel Kiper
2020-12-18  4:39       ` Glenn Washburn
2020-12-18  7:55         ` Petr Vorel

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=20200921221920.GA36945@x230 \
    --to=pvorel@suse.cz \
    --cc=dkiper@net-space.pl \
    --cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.