From patchwork Tue May 10 15:48:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanislaw Kardach X-Patchwork-Id: 110996 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C06FDA0093; Tue, 10 May 2022 17:49:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D43E742850; Tue, 10 May 2022 17:49:11 +0200 (CEST) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) by mails.dpdk.org (Postfix) with ESMTP id EE70742845 for ; Tue, 10 May 2022 17:49:08 +0200 (CEST) Received: by mail-lf1-f45.google.com with SMTP id bq30so30088323lfb.3 for ; Tue, 10 May 2022 08:49:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pDwV8r3s+00neIS7HDHn0aukNgvNPmBXIUxwAlLdLkw=; b=n153mFp9qN2yZ3AT0VxEKP0RyLfZO1nsdYhL/Z4iuu3/Ks7ikU/S3YQXzcx6kRyNzP FOwU6DBtOE+cPwRbdWvRek6JvDWK5p9p2wIOah8JicpK+2icphysUYdtLWU84BPwIIs1 9D/8bHSAcaM7zWBAcGt3tS3j1wAbXahJWAweTB79i98OTbawlvw/udr19YR7FV/9KGpt ld9GyGkxJ6Nes8ZfZhCW+rYAl5MHXbMK3hPEelL+nPwqNTR77INQLC0HPR0VSAp6yUL+ o0+vMcJnRtwpEzSLNG+4aJcgRd7ICj7Ulq4B1IXsM+do7Ycld17ulh77883sSsxYInVZ rXlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pDwV8r3s+00neIS7HDHn0aukNgvNPmBXIUxwAlLdLkw=; b=hiXeNCz9PFbbcs1PQQT5Nhdl5/nPQTIfRrPafp6rnASnlKd4zT3B8XfQLienp5VjMi x4Zyty2g1wdCFhdxZRS8CirN2lUbwcR8nTIP9+AJHZ2LCHeIAcoJ5xLkoLywuqqtqubd NXbDUDpq2Kr7/hhKaT/2w7SF163u2GrHU36MuYOjap5eljcyUGhEitF9BY5bItiNul9a 8pGsNKQfcvj3dH57M/Ljojpx6055PFiUtPftLpeYHDUp56S6iaAe7sAHUCpl5C8D6XCz BZqAh07E2D13v436yO7DccMV+NLK2y0IsV7qyXLuFOSqfmU6/AfhpZhqp7wEUZTOu5Wt k8Jg== X-Gm-Message-State: AOAM5302ONbqHJ5VcLKJ0o9ZAsSD9+9anh4PHXOdZFR7vPKYYs1H9f0c UGXg7l7fGJc+4DB0JDzkUZTwOA== X-Google-Smtp-Source: ABdhPJzvQEBaduaAw0j4IjXwL+U3JoSm/DhKih97EHCeCzzlkIOLE3hm+ckzT/bC7CNAJvmhTK4xEg== X-Received: by 2002:a05:6512:3317:b0:472:31cc:fb4 with SMTP id k23-20020a056512331700b0047231cc0fb4mr16849322lfe.256.1652197748590; Tue, 10 May 2022 08:49:08 -0700 (PDT) Received: from toster.office.semihalf.net ([83.142.187.84]) by smtp.gmail.com with ESMTPSA id i13-20020a2e540d000000b0024f3d1daeedsm2175051ljb.117.2022.05.10.08.49.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 08:49:07 -0700 (PDT) From: Stanislaw Kardach To: Bruce Richardson Cc: Stanislaw Kardach , dev@dpdk.org, Frank Zhao , Sam Grove , mw@semihalf.com, upstream@semihalf.com Subject: [PATCH v3 7/8] devtools: add RISC-V to test-meson-builds.sh Date: Tue, 10 May 2022 17:48:48 +0200 Message-Id: <20220510154849.530872-8-kda@semihalf.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220510154849.530872-1-kda@semihalf.com> References: <20220510150759.525434-1-kda@semihalf.com> <20220510154849.530872-1-kda@semihalf.com> MIME-Version: 1.0 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 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh index a653b253cb..f732dccf6c 100755 --- a/devtools/test-meson-builds.sh +++ b/devtools/test-meson-builds.sh @@ -275,6 +275,10 @@ for f in $srcdir/config/ppc/ppc* ; do build $targetdir $f ABI $use_shared done +# RISC-V configuration +build build-riscv64-linux-gcc $srcdir/config/riscv/riscv64_linux_gcc ABI \ + $use_shared + # 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