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 3EF71A00C2; Thu, 5 May 2022 19:31:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B6D4D42857; Thu, 5 May 2022 19:30:38 +0200 (CEST) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) by mails.dpdk.org (Postfix) with ESMTP id 2FB484284C for ; Thu, 5 May 2022 19:30:36 +0200 (CEST) Received: by mail-lf1-f42.google.com with SMTP id t25so8611291lfg.7 for ; Thu, 05 May 2022 10:30:36 -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=GK5wKzslayOdqHyBtWIe6z+OqiYLFSHY6eOWitDRi28=; b=0FYkWzSqc2go0gDMXu+snPU2yocL6JlMeVkYRBtFO1kTRrSM8zoO603l+cWYCUCxdp uHVu3Lpd4sXoKPW0SUlRk0NAUmegqtXmKhIbHwapVCm2UMDbBlhrsi+hB1PIzYcDRbqZ uxEQJ2slhkboQQjusXjRsBt0AHSLnze4DAapCpjD5FLltK19XBTbJGvz9Jb5Nv5omAas 25H38hI/x4jif2GJbEe1xkNEOZsbv60InkR6kKIJGm32zxgubdVNYMbT2rb3N2ZG0K9D nGoCv+H98nO2UiXiAw/2Ufd9kolI3nvj/ZxviIDyGlFwwCEPsrDhHonUmCTTl7HqDpjw KLOA== 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=GK5wKzslayOdqHyBtWIe6z+OqiYLFSHY6eOWitDRi28=; b=umC3VbGnfRfQIVOo53ns9DVDlbqNigwMyncqMZ7BNIR+GGiClNSGmaPRxyBxKFOCTR szatQx7WzTGeKwGQnK51pgS04OT2xdYeTh8COHysPJhZbY2KHtQHYbDyhyc4/VzIFiug ua1ag//KHYXsLxiDyggEfwJD8YSs87WGjYe0cmjdEzFQmQlR/0RSE2Z1v0MXU23gk2tA acJHvuEX+uIvaR9wphKkaOFjCx5mfMGqsUUOFq+y2c2Dz78OxxkzhG0YIj1YPauPG+LZ WPEJplguuEfgnlMYILLV0s4IidWxl+qUpLKxfRoBBLbv0sivfSK2d6Ms8LcUZ4rsbCaY 60ZQ== X-Gm-Message-State: AOAM532Tp19EQ6OL8PB8aNDtQgBzt7y8XImqrqGAwI+ffO5ioebgEkgg 3vVQ+k4rc5vLw1ZSglOqc/hPog== X-Google-Smtp-Source: ABdhPJyxoLUtVquCp9SrDu8AXom84TP8L7bo+EFb6jd5zQA3wW3CPs2LW/tE/MUc7crrQdTMSecrug== X-Received: by 2002:a05:6512:16a7:b0:445:862e:a1ba with SMTP id bu39-20020a05651216a700b00445862ea1bamr17771425lfb.85.1651771835767; Thu, 05 May 2022 10:30:35 -0700 (PDT) Received: from localhost.localdomain (89-73-146-138.dynamic.chello.pl. [89.73.146.138]) by smtp.gmail.com with ESMTPSA id z26-20020ac25dfa000000b0047255d21203sm289640lfq.306.2022.05.05.10.30.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 May 2022 10:30:35 -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 10/11] devtools: add RISC-V to test-meson-builds.sh Date: Thu, 5 May 2022 19:30:02 +0200 Message-Id: <20220505173003.3242618-11-kda@semihalf.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220505173003.3242618-1-kda@semihalf.com> References: <20220505173003.3242618-1-kda@semihalf.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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). Signed-off-by: Stanislaw Kardach Sponsored-by: Frank Zhao Sponsored-by: Sam Grove --- 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 + # 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