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 F14A6A0555; Thu, 9 Jun 2022 14:17:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CC1414282A; Thu, 9 Jun 2022 14:17:18 +0200 (CEST) Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) by mails.dpdk.org (Postfix) with ESMTP id DFCA4427F9 for ; Thu, 9 Jun 2022 14:17:14 +0200 (CEST) Received: by mail-lf1-f52.google.com with SMTP id i29so20943300lfp.3 for ; Thu, 09 Jun 2022 05:17:14 -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=aN+wK5nqbMTsbPIsmRkEFCSdqjzeVDgB5gAcaKI165U=; b=HJPrhCrGZ0Ifv70S1rnO8IQAYori94ebtMp9QV9uyhryK21HM16srZZdEVjzmOY/C3 9b9nzxcyUl+bIx2vfU1N5lT7ShE42wXUYeGMAMlnKiSTU9kenWSGEMG9/e9ohTJthf8n C/NDVjhyV/cfioeEXXilINVOXp0Qoe+ChM9q9JJ4jk5BsYqwNiaVi+xpznWkqcoSP/3A HLsXPNH4/HlFT+DizZ+Pyqb5laJB+GIa46H2FX7aGd0dsMing98y3eBmSRK+iyKj0BRp M3k0ZGZkz0lFJMG7wMBQAShL+ZTk/tPCsl1F6skBWTzEVjpSIBCMG8Q9W7ROAVbzVzoG EZ6w== 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=aN+wK5nqbMTsbPIsmRkEFCSdqjzeVDgB5gAcaKI165U=; b=58Wlhtmb0sbPt976seTEmoCC03qe4MR4OkmZ4XrgCYhr2fBvCBNN/emecq2Ue0EErl YSuFckph23bQQ68knPPIC12p1lcdpZV8BnA6EqDsqrXhBLDPHERuLQGzU7ZI11ow9icv nPmCjwHhIMUVvHrh8ZU2uwkH6zgmlSTNqO8Y6E7znnjBq/+byTluqSQyKIJ1wOXzV/6L bdUHiiSCyWP7fQ1/XhjzNxvEt3MYDVQIMOUW64SyyDcMasuEtOOh5qwnZyBzQnNYtuGf CEjm+rSBaA4h0uXaNoLjJV0wd+dH7+bdMpy/QTVGMKXoclrbOaycE21WgATFqBennOCD H5sA== X-Gm-Message-State: AOAM531jrKzYBD9mA+HWd/ZJtTao9qh+m6tiUcg152hMAGsw4jUzhGmt fhBqXLzW3kQFbxHYw6cs6aGtaQ== X-Google-Smtp-Source: ABdhPJwnwkt3EQlZGxndxgyzzsm0RShckjiPYmgqyFMtXTuRk7HKW34BGDnqJf7TNMkeq1H2rrrhoQ== X-Received: by 2002:a05:6512:2216:b0:479:390c:70e with SMTP id h22-20020a056512221600b00479390c070emr13979939lfu.453.1654777034512; Thu, 09 Jun 2022 05:17:14 -0700 (PDT) Received: from toster.semihalf.net ([83.142.187.86]) by smtp.gmail.com with ESMTPSA id f6-20020a2eb5a6000000b00253da47cfbesm3706999ljn.80.2022.06.09.05.17.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jun 2022 05:17:14 -0700 (PDT) From: Stanislaw Kardach To: Aaron Conole Cc: Stanislaw Kardach , David Marchand , dev@dpdk.org, upstream@semihalf.com Subject: [PATCH 3/3] ci: use crossbuild-essential-riscv64 for compiling Date: Thu, 9 Jun 2022 14:17:01 +0200 Message-Id: <20220609121701.716299-4-kda@semihalf.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220609121701.716299-1-kda@semihalf.com> References: <20220609121701.716299-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 The current packages installed for RISC-V build check do not contain a C++ compiler, which hid an issue with C++ type conversion in the rte_vect.h header on RISC-V or in the scalar implementation of the LPM x4 lookup. Now that this issue is fixed, use the full toolchain install to enable the C++ test. Besides, the user's guide for RISC-V cross-compilation recommends the use of crossbuild-essential-riscv64. Signed-off-by: Stanislaw Kardach --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7c8528cb04..c0d2829d0e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -139,8 +139,7 @@ jobs: pkg-config-powerpc-linux-gnu - name: Install riscv64 cross compiling packages if: env.RISCV64 == 'true' - run: sudo apt install -y gcc-riscv64-linux-gnu libc6-dev-riscv64-cross - pkg-config-riscv64-linux-gnu + run: sudo apt install -y crossbuild-essential-riscv64 - name: Install test tools packages if: env.AARCH64 != 'true' || env.PPC64LE != 'true' || env.RISCV64 != 'true' || env.RUN_TESTS == 'true' run: sudo apt install -y gdb -- 2.30.2