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 CAD78A0093; Tue, 10 May 2022 17:09:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A780742869; Tue, 10 May 2022 17:08:30 +0200 (CEST) Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) by mails.dpdk.org (Postfix) with ESMTP id 46C9242863 for ; Tue, 10 May 2022 17:08:28 +0200 (CEST) Received: by mail-lf1-f49.google.com with SMTP id p26so16597425lfh.10 for ; Tue, 10 May 2022 08:08:28 -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=wflwvRGbdEHuE+9tz8mK4FjQVVyqhQ/zMtHVPcPgpvU=; b=hYAjreo259KWq6abvQEOooQdexc2NdRGwCKllIfJWWXL+NDtTNDeFpTXEvgMlmqxcC sBDrwbuVLM1tN5g5LFtqrqxHiWFUOBXNEorClh58fr+SIvLIXMZ25qhEqMT4Rj0XH5AQ /kuA0sFe+8s0u7kU920pRDhgQyIvAKTrkZ7gfDaLrr07EMytYr58EcY4gUAnWYg5ARfp dSUDIMtQs4kkRSJN5KeRXFQ7CoX0v52TWURBkyqM9Rj9BHIGBzIhTicFz3N4S5zmNn5o q71H/Jhn35O/yRx6wUYitxmyr+gtWIQ8LrBKGBBlQ322TUfAHuAtXJLU4Iher2tjwumn 2Wzw== 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=wflwvRGbdEHuE+9tz8mK4FjQVVyqhQ/zMtHVPcPgpvU=; b=iZUjZiQfgHzrx4l9alu5nKi6hxPP4+lzpFtZtYk5BQwdHeldPGiSKPxtfXfigSt+Vv jcsZagPiWsaGAxOyoTPUcZxGBbG8sUCTsZZe1YB0Qd/J3ePQb4FpvhxvIdDEHe3XMprk 0Qf7Zvseh/0ORZARGWET5D0boDsfGgqnFhKDbuu9vITANgPyr7b4hJpignw87LdkOqAP UOM4d99pk8kV/sdXQattJx1g3pqvy6k8kjnkF+zwG1U+Gl/yI/GH3mFD/oY+BOclxCW+ Affz32QE6FIOKsUTWTA958lMtPz9kEouvK6Jvu2WoqbbzJWwY3rwpCScgBgguq9IaHnI eWaw== X-Gm-Message-State: AOAM530RjcsvYILwfV9oKH3DJtYh8c0QYVi8x1B3/rplLtJICbAFNNVt NpiI9fgwIZI1aZjTG2qzvxQPMF357G6mDQ== X-Google-Smtp-Source: ABdhPJw1XQeEVr9cdcmeK/3m3WbHGdei2kIhUHx5H8dMBz+yN5679XCg8dO/p2uxucXkkZ8OiiFYTg== X-Received: by 2002:a05:6512:21ce:b0:473:d8ac:6c74 with SMTP id d14-20020a05651221ce00b00473d8ac6c74mr16903241lft.63.1652195308013; Tue, 10 May 2022 08:08:28 -0700 (PDT) Received: from toster.office.semihalf.net ([83.142.187.84]) by smtp.gmail.com with ESMTPSA id z4-20020a19e204000000b0047255d2117esm2311895lfg.173.2022.05.10.08.08.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 08:08:27 -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 v2 7/8] devtools: add RISC-V to test-meson-builds.sh Date: Tue, 10 May 2022 17:07:58 +0200 Message-Id: <20220510150759.525434-8-kda@semihalf.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220510150759.525434-1-kda@semihalf.com> References: <20220505173003.3242618-1-kda@semihalf.com> <20220510150759.525434-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). 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 + # 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