From patchwork Tue May 31 14:13:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanislaw Kardach X-Patchwork-Id: 112153 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 6CB41A0548; Tue, 31 May 2022 16:14:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AC41C42B89; Tue, 31 May 2022 16:13:23 +0200 (CEST) Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) by mails.dpdk.org (Postfix) with ESMTP id 05C1B42847 for ; Tue, 31 May 2022 16:13:19 +0200 (CEST) Received: by mail-lj1-f178.google.com with SMTP id g12so14736500lja.3 for ; Tue, 31 May 2022 07:13:18 -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=WAmuuWPuYCA1khhx7QmAOi8/FC8auy885ihYtYgSYD2IVG8tdYcOSW43axuMHHduxU sCHAxqZkJ4mO8og6bjLZBCI0xWVH8CcrLzJTLw5aQT12xp/24Qy0/3NpV/8xidOid5Qx ITYTOsuc/oICBUHDFZ9F5cVj08LfGc4ZKrH2+xxVhOewxerl/q5PDw5C2nXM2Oj2cgvJ 3rLeqfpjYw0lr+JEHuktMZw9oueiwxQW/iWhwjNoYyUZFGQOgjE/ZA2b1xtwKBLh9iRO Fdoka2uVqahRpID6htj/Hxjj6WLOcgdDscz19Z7VczerAfNM4rOrGSa9fJVhYiN9ARAB BBsQ== 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=luyoEh6E+0aACWslSOuTPxYgcp7Fbu6KhQDWNkGnAsF9fbgMQ6F/X0DwdEIrqgREbO 1Ul32faVnpv790nRrXqkDaFuai+OrT0skhr1gh2O6SzfO4qvKEfzM4FlflpolBivN5de QolMNhrZySsFl3uBitntxVenzxOwh58dcPwn/ck+wzgrfCI1POgyTsQxvl4g0WndNgIH I0mCFmZMs1ygOe1Gbb5UTU04e+Wm7J4cYgYq8+17KM95PKBbjVYp64qjqzP1X2R0A5lE VpMi2UYZJ4fAqySXJDFkxJ05wmlkl8R++UhX58F1mSYmSMKVfD6IZqquNn8wOgvHa4Bx 9/eA== X-Gm-Message-State: AOAM532GYI12+uAlaN3/i9wbKmapvr/1ILqOKcaDKXDtA/ciHmnNEU2j ZYAzhb5YZ3apEJSaTj7M5Ca1VM+LXAlwFdjK X-Google-Smtp-Source: ABdhPJxPVI/z7pGA3fZYWrz/NBiQal2knNVeiNS1d9jhh5+BX3qiMfpNgOabwJh5KWj826gbwUNqGQ== X-Received: by 2002:a2e:3005:0:b0:254:1489:a141 with SMTP id w5-20020a2e3005000000b002541489a141mr17440458ljw.51.1654006398749; Tue, 31 May 2022 07:13:18 -0700 (PDT) Received: from toster.semihalf.net (89-73-146-138.dynamic.chello.pl. [89.73.146.138]) by smtp.gmail.com with ESMTPSA id k20-20020a2e6f14000000b002554f044e1asm1258311ljc.116.2022.05.31.07.13.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 May 2022 07:13:18 -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 v4 7/8] devtools: add RISC-V to test-meson-builds.sh Date: Tue, 31 May 2022 16:13:06 +0200 Message-Id: <20220531141307.253385-8-kda@semihalf.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220531141307.253385-1-kda@semihalf.com> References: <20220531141307.253385-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