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 353E0A0093; Tue, 10 May 2022 17:36:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D7C5C410EE; Tue, 10 May 2022 17:36:34 +0200 (CEST) Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) by mails.dpdk.org (Postfix) with ESMTP id 45700406B4 for ; Tue, 10 May 2022 17:36:33 +0200 (CEST) Received: by mail-lj1-f169.google.com with SMTP id s27so21321062ljd.2 for ; Tue, 10 May 2022 08:36:33 -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=KvZvUx3ucy3Tl1JeJvjoH1a74jbSERuCGqYS64li6d8=; b=L6EKwDoffzKwWxDQR9x8kg0jkhox9CworKrJF0jQcQuGoQAeab61LpyFdIEYldRMM2 JB4ZtysIGbn/rbhFoQg5dWkBQlFA1titlkJh05tQ5EKiPH/tm28prV4u9Ajgt/z88IjC 88tB+Rn2aY9sH2cO6f6BKYG/LqnXnTBXi7fMfWd7661lBilw2OPvvDJ18PfyqSVYwv9C 9AdQ6OmK+noQCFgT2WAKfRxxw5FydEj0nI5KSZcE+EZZ+sPXkYjy/PXM2/v34ZAl7kAK x08WmoFZtcuRZzbmVcc4WJCTiRaFgHmWJ5dk5X1acax+sm/KWDKY+JCsV4ZwPXfwquZQ GerA== 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=KvZvUx3ucy3Tl1JeJvjoH1a74jbSERuCGqYS64li6d8=; b=6HXw3Q/1H7ihrkFy7LslAcTUDZmxvlUiZNGLhxp2CaKBMLUl2uX4lpl7eSpwjlvaS3 WL52+ypoomzjPH1KCHwLZCR0myJF3FPFb8X2XJIci0AYcu1SeIO0GRvsVE0XXQ97QTeE gvJmAD0sI3fCMcJDw5CMVrSlXkXIKNUBaCDUy0YWzXLOWNTYHA5RwwYrJ4KzbOKMhDz1 MVaSFTRfQdVwiOw8uS1dy1X1H3Ge8T+Z2RxPEj9HGsEDpb9J9cgHyI4E306VRPehZRGU ASo1DupFjezL316st7F14Q94azAQjtet64UpazH9PLbH69iZl/khkXr2LFWOMCTql62m li1A== X-Gm-Message-State: AOAM533IysirS+6pFgp1CaPzxZs6TIdXJQTwLhLO4O1dqH+bhs4FuN1P jFfwNFuayB8iCJm6bxjtX86uIlBanJNEEFxbPx6O+Q== X-Google-Smtp-Source: ABdhPJzQkEkbLuvtEy/me/oMHgH2MGxliroSWa9rgC8hoffUb0Vj+WRmF/Kb3AwYGUkQToj/hT7QuHwKhFD5X2ZVPE0= X-Received: by 2002:a05:651c:4d1:b0:24f:6374:3e85 with SMTP id e17-20020a05651c04d100b0024f63743e85mr13995090lji.387.1652196992465; Tue, 10 May 2022 08:36:32 -0700 (PDT) MIME-Version: 1.0 References: <20220505173003.3242618-1-kda@semihalf.com> <20220510150759.525434-1-kda@semihalf.com> <20220510150759.525434-8-kda@semihalf.com> In-Reply-To: <20220510150759.525434-8-kda@semihalf.com> From: =?UTF-8?Q?Stanis=C5=82aw_Kardach?= Date: Tue, 10 May 2022 17:35:56 +0200 Message-ID: Subject: Re: [PATCH v2 7/8] devtools: add RISC-V to test-meson-builds.sh To: Bruce Richardson Cc: dev , Frank Zhao , Sam Grove , Marcin Wojtas , upstream@semihalf.com Content-Type: multipart/alternative; boundary="000000000000d5ccb505deaa165a" 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 --000000000000d5ccb505deaa165a Content-Type: text/plain; charset="UTF-8" On Tue, May 10, 2022 at 5:08 PM Stanislaw Kardach wrote: > Validate RISC-V compilation when test-meson-builds.sh is called. The > check will be only performed if appropriate toolchain is present on the > system (same as with other architectures). > > Sponsored-by: Frank Zhao > Sponsored-by: Sam Grove > Signed-off-by: Stanislaw Kardach > --- > devtools/test-meson-builds.sh | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh > index a653b253cb..12513e9d7f 100755 > --- a/devtools/test-meson-builds.sh > +++ b/devtools/test-meson-builds.sh > @@ -275,6 +275,12 @@ for f in $srcdir/config/ppc/ppc* ; do > build $targetdir $f ABI $use_shared > done > > +# RISC-V configurations > +for f in $srcdir/config/riscv/riscv* ; do > + targetdir=build-$(basename $f | tr '_' '-' | cut -d'-' -f-2) > + build $targetdir $f ABI $use_shared > +done > + > This should not be an iteration but a single build command. I'll re-send as v3. > # Test installation of the x86-generic target, to be used for checking > # the sample apps build using the pkg-config file for cflags and libs > load_env cc > -- > 2.30.2 > --000000000000d5ccb505deaa165a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, May 10, 2022 at 5:08 PM Stanislaw= Kardach <kda@semihalf.com> w= rote:
Validate RISC-V compilation when test-meson-builds.sh is c= alled. The
check will be only performed if appropriate toolchain is present on the
system (same as with other architectures).

Sponsored-by: Frank Zhao <Frank.Zhao@starfivetech.com>
Sponsored-by: Sam Grove <sam.grove@sifive.com>
Signed-off-by: Stanislaw Kardach <kda@semihalf.com>
---
=C2=A0devtools/test-meson-builds.sh | 6 ++++++
=C2=A01 file changed, 6 insertions(+)

diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh<= br> index a653b253cb..12513e9d7f 100755
--- a/devtools/test-meson-builds.sh
+++ b/devtools/test-meson-builds.sh
@@ -275,6 +275,12 @@ for f in $srcdir/config/ppc/ppc* ; do
=C2=A0 =C2=A0 =C2=A0 =C2=A0 build $targetdir $f ABI $use_shared
=C2=A0done

+# RISC-V configurations
+for f in $srcdir/config/riscv/riscv* ; do
+=C2=A0 =C2=A0 =C2=A0 =C2=A0targetdir=3Dbuild-$(basename $f | tr '_'= ; '-' | cut -d'-' -f-2)
+=C2=A0 =C2=A0 =C2=A0 =C2=A0build $targetdir $f ABI $use_shared
+done
+
This should not be an iteration but a single build c= ommand. I'll re-send as v3.=C2=A0
=C2=A0# Test installation of the x86-generic target, to be used for checkin= g
=C2=A0# the sample apps build using the pkg-config file for cflags and libs=
=C2=A0load_env cc
--
2.30.2
--000000000000d5ccb505deaa165a--