From patchwork Tue Jun 7 10:46:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanislaw Kardach X-Patchwork-Id: 112458 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 18B36A0544; Tue, 7 Jun 2022 12:47:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C414E42B81; Tue, 7 Jun 2022 12:46:37 +0200 (CEST) Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) by mails.dpdk.org (Postfix) with ESMTP id 6F67C42685 for ; Tue, 7 Jun 2022 12:46:34 +0200 (CEST) Received: by mail-lj1-f173.google.com with SMTP id s13so18718727ljd.4 for ; Tue, 07 Jun 2022 03:46:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pDwV8r3s+00neIS7HDHn0aukNgvNPmBXIUxwAlLdLkw=; b=uSrKdNUYqGXdqcEscj618XQW/XmtitJJTSpJsyXy/yV8shNaTkoABqLs/Ys6Jn9V1y FVw8Gsvgr7w4p5KKh/uu4jlDw+u0y9TXFI12ujrpH+j6V55rGaaQooh5UfyFoH8HpDYc tXVYmF+GmtqTrTpl/Gt3BFLm/hhzt8kQ18vdcC19zi/akc6Df8RGdafz4yr7O2v6lXlY KlsPdsAW7fjP+OeDcwC6KpTS5mDa0Kt2SyYJIdrAEiWToNNkjZDzo0E0+zhv29VQRKYk me9mPEKUe248tDfxTu48COb4G6ExD2RHIPIaOWDnT5EA0ubJ+3/3rQrKubuaolNEu5/V reaw== 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=KtUlEXrl5f3ORBTyX3lmq61SV+pRomOadncw8lN4awjr7beB8VzBcaDmgYCsdPt5K8 72XRZU23z/Sm3a0Mei968GUkvI8by+Qyws6nlc5cFLHTp8zUpQmxCV8X4hf2Ws15+N9I d6MhKk0xZuS13BljQcPzA8dbUWAFEyicHT2H1rc3fo5ZAte3Bao8s+AIv+LsmBOmZlz1 AT2f/EUMerboKVTpv0j1zrjst5I9HLP5lHsf+xB5ayTY/0d+lDwJgWSt8kof0l8pf2/0 FOWWqjE6zHPHrNomdiL5X4taOMcZUuMMJaZhfZ9GxO0qFTfZwb0xgkSxQAHpMrOgLkGn PcDw== X-Gm-Message-State: AOAM532FnqDXU0RcoA7LVCOAyEJn9lFfoWN3eNK5vwqaq1S2OdUbOlFQ kORDh0ZnH19b10/O/PzRYYTeBw== X-Google-Smtp-Source: ABdhPJyjtdZkYpa/BPgzj0G6fTHR2XmSG3ADqqd3fly9YcT3v/+4xrYjGMbam6QxzDaCH+iRh9JtXg== X-Received: by 2002:a2e:a491:0:b0:255:81f0:d3b8 with SMTP id h17-20020a2ea491000000b0025581f0d3b8mr10181246lji.194.1654598794081; Tue, 07 Jun 2022 03:46:34 -0700 (PDT) Received: from localhost.localdomain (89-73-146-138.dynamic.chello.pl. [89.73.146.138]) by smtp.gmail.com with ESMTPSA id m16-20020a056512115000b00478f2f2f044sm3217272lfg.123.2022.06.07.03.46.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 03:46:33 -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 RESEND v4 7/8] devtools: add RISC-V to test-meson-builds.sh Date: Tue, 7 Jun 2022 12:46:16 +0200 Message-Id: <20220607104617.153892-8-kda@semihalf.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220607104617.153892-1-kda@semihalf.com> References: <20220607104617.153892-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