From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 0583BA00C3;
	Thu, 12 May 2022 18:07:38 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id ACA4740E64;
	Thu, 12 May 2022 18:07:38 +0200 (CEST)
Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com
 [209.85.167.52]) by mails.dpdk.org (Postfix) with ESMTP id F40AF40DDD
 for <dev@dpdk.org>; Thu, 12 May 2022 18:07:37 +0200 (CEST)
Received: by mail-lf1-f52.google.com with SMTP id p10so9886335lfa.12
 for <dev@dpdk.org>; Thu, 12 May 2022 09:07:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=semihalf-com.20210112.gappssmtp.com; s=20210112;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=feQYrZ9TEd3ygwt2glZD3S4SOuvUFHuv1eViQOYAz1w=;
 b=G/Y+85JWqo+ollULtT4ZR+S6rG6GjmxunkBgb3SlSngqc5r6NooGU4/srA/OBFzqWs
 FyDHobBjTa1+N+EKA9FJ1jwmkXhOfo5BtDiWZxalkKNx8w0f/KnkrkurDE1W0RM6QOZw
 JwuFTM356Z/Oe4F6rRibEdji/AYAC6LrKdBcmPUdi0FolcB0B44SvL2GAaXUuQQkZ3r8
 e48RTlvrVLbQESsj1HhNn0gbeo9zNi6HCm/1ZsTJMdvKxTajmRIo5fjqkeUrGIM2cCXU
 h3zBOhJQyHPJs0Rk8PjIyeFCbkKoY8J4OA4VkLuIskua+yNxLOxyB1kudPp0lhPoJWo1
 Pmkg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=feQYrZ9TEd3ygwt2glZD3S4SOuvUFHuv1eViQOYAz1w=;
 b=01JA+XqmjOSNKFLc6+fIlcYu9tOw23WnJ3j60pVBKc6JQ9sWIgb5V7IzlFoSlEd4XZ
 IpFTiqieOPvDBO8MKYYPjbRmk5GaD1Jp7Cm+y1HUAbmcnkaruCDvd/oj+sOYiFCMDobb
 6mw0wRahb5MeoHTic2luzaIera2bnO/rmUnmWEwDpFNMb9ckXVly10XKYSjSpUktyExh
 qG2ap+WQJx3QWWL2Lb1VZCpuSFKYhohM+FPgYfVpCog+aa7MC1FEbFbg/brKkOFONy1H
 VsiiGO3kLD7i/TNUUgcMNK8cRV12St+jfJ8ZlGlBpcPlbvenbHhDyWCKPskbatyvkIz4
 7IhQ==
X-Gm-Message-State: AOAM532C6mg9VumfX+D00wjlbUFTlX+O7ySZUn2v1jeMLOqSvqAaRfaW
 /JjGnQ82cAa+4C/mnSK4TOgs+NnD8nwGeMv/VtUaYw==
X-Google-Smtp-Source: ABdhPJzUM2SGCggfyFKWsAxlne7cUv7Vfyqsvq1zf3F/l6wmHusNET6UIGjd60lOPXELPMYxdogHDy3aB7z/rCYdqgY=
X-Received: by 2002:a05:6512:2821:b0:474:5127:8f6 with SMTP id
 cf33-20020a056512282100b00474512708f6mr377431lfb.66.1652371657162; Thu, 12
 May 2022 09:07:37 -0700 (PDT)
MIME-Version: 1.0
References: <20220510150759.525434-1-kda@semihalf.com>
 <20220510154849.530872-1-kda@semihalf.com>
 <20220510154849.530872-9-kda@semihalf.com> <f7t4k1uoiqu.fsf@redhat.com>
In-Reply-To: <f7t4k1uoiqu.fsf@redhat.com>
From: =?UTF-8?Q?Stanis=C5=82aw_Kardach?= <kda@semihalf.com>
Date: Thu, 12 May 2022 18:07:24 +0200
Message-ID: <CALVGJWKCsOOv1C-Yb3nE1GEnedZCaRXtFXaYFqmd9pViskK8HA@mail.gmail.com>
Subject: Re: [PATCH v3 8/8] ci: add RISCV64 cross compilation job
To: Aaron Conole <aconole@redhat.com>
Cc: dev <dev@dpdk.org>, Frank Zhao <Frank.Zhao@starfivetech.com>, 
 Sam Grove <sam.grove@sifive.com>, Marcin Wojtas <mw@semihalf.com>,
 upstream@semihalf.com, David Marchand <david.marchand@redhat.com>
Content-Type: multipart/alternative; boundary="000000000000a9978e05ded2c12a"
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

--000000000000a9978e05ded2c12a
Content-Type: text/plain; charset="UTF-8"

On Thu, 12 May 2022, 17:47 Aaron Conole, <aconole@redhat.com> wrote:

> Stanislaw Kardach <kda@semihalf.com> writes:
>
> > Checks cross-compilation using Ubuntu 20.04 x86.
> >
> > Signed-off-by: David Marchand <david.marchand@redhat.com>
> > Signed-off-by: Stanislaw Kardach <kda@semihalf.com>
> > ---
> >  .ci/linux-build.sh          |  4 ++++
> >  .github/workflows/build.yml | 11 ++++++++++-
> >  2 files changed, 14 insertions(+), 1 deletion(-)
>
> Seems there is still a failure in this series - once that is resolved I
> think this can go in.
>
I suspect the failure is due to this series depending on 3 other patches
which I've marked with Depends-on in the offending patch. Is CI utilizing
those tags? If not, is there a way to relaunch it once dependencies are
integrated?

>
> > diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh
> > index 877243c9c8..aa5e9ec114 100755
> > --- a/.ci/linux-build.sh
> > +++ b/.ci/linux-build.sh
> > @@ -74,6 +74,10 @@ if [ "$PPC64LE" = "true" ]; then
> >      cross_file=config/ppc/ppc64le-power8-linux-gcc-ubuntu
> >  fi
> >
> > +if [ "$RISCV64" = "true" ]; then
> > +    cross_file=config/riscv/riscv64_linux_gcc
> > +fi
> > +
> >  if [ -n "$cross_file" ]; then
> >      OPTS="$OPTS --cross-file $cross_file"
> >  fi
> > diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
> > index e2f94d786b..ca468da8fa 100644
> > --- a/.github/workflows/build.yml
> > +++ b/.github/workflows/build.yml
> > @@ -25,6 +25,7 @@ jobs:
> >        MINI: ${{ matrix.config.mini != '' }}
> >        PPC64LE: ${{ matrix.config.cross == 'ppc64le' }}
> >        REF_GIT_TAG: v22.03
> > +      RISCV64: ${{ matrix.config.cross == 'riscv64' }}
> >        RUN_TESTS: ${{ contains(matrix.config.checks, 'tests') }}
> >
> >      strategy:
> > @@ -73,6 +74,10 @@ jobs:
> >              compiler: gcc
> >              library: shared
> >              cross: ppc64le
> > +          - os: ubuntu-20.04
> > +            compiler: gcc
> > +            library: shared
> > +            cross: riscv64
> >
> >      steps:
> >      - name: Checkout sources
> > @@ -131,8 +136,12 @@ jobs:
> >        if: env.PPC64LE == 'true'
> >        run: sudo apt install -y gcc-powerpc64le-linux-gnu
> libc6-dev-ppc64el-cross
> >          pkg-config-powerpc-linux-gnu
> > +    - name: Install riscv64 cross compiling packages
> > +      if: env.RISCV64 == 'true'
> > +      run: sudo apt install -y gcc-riscv64-linux-gnu
> libc6-dev-riscv64-cross
> > +        pkg-config-riscv64-linux-gnu
> >      - name: Install test tools packages
> > -      if: env.AARCH64 != 'true' || env.PPC64LE != 'true' ||
> env.RUN_TESTS == 'true'
> > +      if: env.AARCH64 != 'true' || env.PPC64LE != 'true' || env.RISCV64
> != 'true' || env.RUN_TESTS == 'true'
> >        run: sudo apt install -y gdb
> >      - name: Install doc generation packages
> >        if: env.BUILD_DOCS == 'true'
>
>

--000000000000a9978e05ded2c12a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Thu, 12 May 2022, 17:47 Aaron Conole, &lt;<a href=
=3D"mailto:aconole@redhat.com" target=3D"_blank" rel=3D"noreferrer">aconole=
@redhat.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Stanisla=
w Kardach &lt;<a href=3D"mailto:kda@semihalf.com" rel=3D"noreferrer norefer=
rer" target=3D"_blank">kda@semihalf.com</a>&gt; writes:<br>
<br>
&gt; Checks cross-compilation using Ubuntu 20.04 x86.<br>
&gt;<br>
&gt; Signed-off-by: David Marchand &lt;<a href=3D"mailto:david.marchand@red=
hat.com" rel=3D"noreferrer noreferrer" target=3D"_blank">david.marchand@red=
hat.com</a>&gt;<br>
&gt; Signed-off-by: Stanislaw Kardach &lt;<a href=3D"mailto:kda@semihalf.co=
m" rel=3D"noreferrer noreferrer" target=3D"_blank">kda@semihalf.com</a>&gt;=
<br>
&gt; ---<br>
&gt;=C2=A0 .ci/linux-build.sh=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 4 +=
+++<br>
&gt;=C2=A0 .github/workflows/build.yml | 11 ++++++++++-<br>
&gt;=C2=A0 2 files changed, 14 insertions(+), 1 deletion(-)<br>
<br>
Seems there is still a failure in this series - once that is resolved I<br>
think this can go in.<br></blockquote></div></div><div dir=3D"auto">I suspe=
ct the failure is due to this series depending on 3 other patches which I&#=
39;ve marked with Depends-on in the offending patch. Is CI utilizing those =
tags? If not, is there a way to relaunch it once dependencies are integrate=
d?</div><div dir=3D"auto"><div class=3D"gmail_quote"><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">
<br>
&gt; diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh<br>
&gt; index 877243c9c8..aa5e9ec114 100755<br>
&gt; --- a/.ci/linux-build.sh<br>
&gt; +++ b/.ci/linux-build.sh<br>
&gt; @@ -74,6 +74,10 @@ if [ &quot;$PPC64LE&quot; =3D &quot;true&quot; ]; t=
hen<br>
&gt;=C2=A0 =C2=A0 =C2=A0 cross_file=3Dconfig/ppc/ppc64le-power8-linux-gcc-u=
buntu<br>
&gt;=C2=A0 fi<br>
&gt;=C2=A0 <br>
&gt; +if [ &quot;$RISCV64&quot; =3D &quot;true&quot; ]; then<br>
&gt; +=C2=A0 =C2=A0 cross_file=3Dconfig/riscv/riscv64_linux_gcc<br>
&gt; +fi<br>
&gt; +<br>
&gt;=C2=A0 if [ -n &quot;$cross_file&quot; ]; then<br>
&gt;=C2=A0 =C2=A0 =C2=A0 OPTS=3D&quot;$OPTS --cross-file $cross_file&quot;<=
br>
&gt;=C2=A0 fi<br>
&gt; diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml=
<br>
&gt; index e2f94d786b..ca468da8fa 100644<br>
&gt; --- a/.github/workflows/build.yml<br>
&gt; +++ b/.github/workflows/build.yml<br>
&gt; @@ -25,6 +25,7 @@ jobs:<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 MINI: ${{ matrix.config.mini !=3D &#39;&#39=
; }}<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 PPC64LE: ${{ matrix.config.cross =3D=3D &#3=
9;ppc64le&#39; }}<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 REF_GIT_TAG: v22.03<br>
&gt; +=C2=A0 =C2=A0 =C2=A0 RISCV64: ${{ matrix.config.cross =3D=3D &#39;ris=
cv64&#39; }}<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 RUN_TESTS: ${{ contains(matrix.config.check=
s, &#39;tests&#39;) }}<br>
&gt;=C2=A0 <br>
&gt;=C2=A0 =C2=A0 =C2=A0 strategy:<br>
&gt; @@ -73,6 +74,10 @@ jobs:<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 compiler: gcc<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 library: shared<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 cross: ppc64le<br>
&gt; +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 - os: ubuntu-20.04<br>
&gt; +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 compiler: gcc<br>
&gt; +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 library: shared<br>
&gt; +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 cross: riscv64<br>
&gt;=C2=A0 <br>
&gt;=C2=A0 =C2=A0 =C2=A0 steps:<br>
&gt;=C2=A0 =C2=A0 =C2=A0 - name: Checkout sources<br>
&gt; @@ -131,8 +136,12 @@ jobs:<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 if: env.PPC64LE =3D=3D &#39;true&#39;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 run: sudo apt install -y gcc-powerpc64le-li=
nux-gnu libc6-dev-ppc64el-cross<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 pkg-config-powerpc-linux-gnu<br>
&gt; +=C2=A0 =C2=A0 - name: Install riscv64 cross compiling packages<br>
&gt; +=C2=A0 =C2=A0 =C2=A0 if: env.RISCV64 =3D=3D &#39;true&#39;<br>
&gt; +=C2=A0 =C2=A0 =C2=A0 run: sudo apt install -y gcc-riscv64-linux-gnu l=
ibc6-dev-riscv64-cross<br>
&gt; +=C2=A0 =C2=A0 =C2=A0 =C2=A0 pkg-config-riscv64-linux-gnu<br>
&gt;=C2=A0 =C2=A0 =C2=A0 - name: Install test tools packages<br>
&gt; -=C2=A0 =C2=A0 =C2=A0 if: env.AARCH64 !=3D &#39;true&#39; || env.PPC64=
LE !=3D &#39;true&#39; || env.RUN_TESTS =3D=3D &#39;true&#39;<br>
&gt; +=C2=A0 =C2=A0 =C2=A0 if: env.AARCH64 !=3D &#39;true&#39; || env.PPC64=
LE !=3D &#39;true&#39; || env.RISCV64 !=3D &#39;true&#39; || env.RUN_TESTS =
=3D=3D &#39;true&#39;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 run: sudo apt install -y gdb<br>
&gt;=C2=A0 =C2=A0 =C2=A0 - name: Install doc generation packages<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 if: env.BUILD_DOCS =3D=3D &#39;true&#39;<br=
>
<br>
</blockquote></div></div></div>

--000000000000a9978e05ded2c12a--