From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 ; Thu, 12 May 2022 18:07:37 +0200 (CEST) Received: by mail-lf1-f52.google.com with SMTP id p10so9886335lfa.12 for ; 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> In-Reply-To: From: =?UTF-8?Q?Stanis=C5=82aw_Kardach?= Date: Thu, 12 May 2022 18:07:24 +0200 Message-ID: Subject: Re: [PATCH v3 8/8] ci: add RISCV64 cross compilation job To: Aaron Conole Cc: dev , Frank Zhao , Sam Grove , Marcin Wojtas , upstream@semihalf.com, David Marchand 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --000000000000a9978e05ded2c12a Content-Type: text/plain; charset="UTF-8" On Thu, 12 May 2022, 17:47 Aaron Conole, wrote: > Stanislaw Kardach writes: > > > Checks cross-compilation using Ubuntu 20.04 x86. > > > > Signed-off-by: David Marchand > > Signed-off-by: Stanislaw Kardach > > --- > > .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


On Thu, 12 May 2022, 17:47 Aaron Conole, <aconole= @redhat.com> wrote:
Stanisla= w Kardach <kda@semihalf.com> writes:

> Checks cross-compilation using Ubuntu 20.04 x86.
>
> Signed-off-by: David Marchand <david.marchand@red= hat.com>
> Signed-off-by: Stanislaw Kardach <kda@semihalf.com>=
> ---
>=C2=A0 .ci/linux-build.sh=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 4 += +++
>=C2=A0 .github/workflows/build.yml | 11 ++++++++++-
>=C2=A0 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 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?

> 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" =3D "true" ]; t= hen
>=C2=A0 =C2=A0 =C2=A0 cross_file=3Dconfig/ppc/ppc64le-power8-linux-gcc-u= buntu
>=C2=A0 fi
>=C2=A0
> +if [ "$RISCV64" =3D "true" ]; then
> +=C2=A0 =C2=A0 cross_file=3Dconfig/riscv/riscv64_linux_gcc
> +fi
> +
>=C2=A0 if [ -n "$cross_file" ]; then
>=C2=A0 =C2=A0 =C2=A0 OPTS=3D"$OPTS --cross-file $cross_file"<= br> >=C2=A0 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:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 MINI: ${{ matrix.config.mini !=3D ''= ; }}
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 PPC64LE: ${{ matrix.config.cross =3D=3D = 9;ppc64le' }}
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 REF_GIT_TAG: v22.03
> +=C2=A0 =C2=A0 =C2=A0 RISCV64: ${{ matrix.config.cross =3D=3D 'ris= cv64' }}
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 RUN_TESTS: ${{ contains(matrix.config.check= s, 'tests') }}
>=C2=A0
>=C2=A0 =C2=A0 =C2=A0 strategy:
> @@ -73,6 +74,10 @@ jobs:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 compiler: gcc
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 library: shared
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 cross: ppc64le
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 - os: ubuntu-20.04
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 compiler: gcc
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 library: shared
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 cross: riscv64
>=C2=A0
>=C2=A0 =C2=A0 =C2=A0 steps:
>=C2=A0 =C2=A0 =C2=A0 - name: Checkout sources
> @@ -131,8 +136,12 @@ jobs:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 if: env.PPC64LE =3D=3D 'true'
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 run: sudo apt install -y gcc-powerpc64le-li= nux-gnu libc6-dev-ppc64el-cross
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 pkg-config-powerpc-linux-gnu
> +=C2=A0 =C2=A0 - name: Install riscv64 cross compiling packages
> +=C2=A0 =C2=A0 =C2=A0 if: env.RISCV64 =3D=3D 'true'
> +=C2=A0 =C2=A0 =C2=A0 run: sudo apt install -y gcc-riscv64-linux-gnu l= ibc6-dev-riscv64-cross
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 pkg-config-riscv64-linux-gnu
>=C2=A0 =C2=A0 =C2=A0 - name: Install test tools packages
> -=C2=A0 =C2=A0 =C2=A0 if: env.AARCH64 !=3D 'true' || env.PPC64= LE !=3D 'true' || env.RUN_TESTS =3D=3D 'true'
> +=C2=A0 =C2=A0 =C2=A0 if: env.AARCH64 !=3D 'true' || env.PPC64= LE !=3D 'true' || env.RISCV64 !=3D 'true' || env.RUN_TESTS = =3D=3D 'true'
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 run: sudo apt install -y gdb
>=C2=A0 =C2=A0 =C2=A0 - name: Install doc generation packages
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 if: env.BUILD_DOCS =3D=3D 'true'
--000000000000a9978e05ded2c12a--