From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id D827DA00C5;
	Tue, 21 Jun 2022 14:28:43 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 50B6742802;
	Tue, 21 Jun 2022 14:28:37 +0200 (CEST)
Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com
 [209.85.208.180])
 by mails.dpdk.org (Postfix) with ESMTP id D4A1240151
 for <dev@dpdk.org>; Tue, 21 Jun 2022 14:28:33 +0200 (CEST)
Received: by mail-lj1-f180.google.com with SMTP id s14so8500346ljs.3
 for <dev@dpdk.org>; Tue, 21 Jun 2022 05:28:33 -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=yfIe065JhS2EQaKnra8sPyJ1GcEY8Pvhh/ymrfcGI2k=;
 b=l/ziCE6zXF4Sv+psQmI5n18fxKUK2K/8UicVDsGiyCwU8h1hnE7stqqhPlzoivrvTx
 7X85tJRX6MjCkONsPVmN3XY0UM0z2KuvYV2XY9RiN9wn4m9WvWe5P5rmTiRQUvAvj8dW
 zXnfs6rFitIZZoaSjj2ZraPQdsARmPdmVZr1SADDpXXCEMgoiHwgKlCJYrF8qIUi+C3L
 MjIpPXf1tV2ubbPbG0dlcjeUHlRbGKk4CYg0kd0nH/ojI0+YNbXVooVNVa52Bc79OBGr
 xwTrriNck4SUG9iMwgskyd5ItRwTrkFmgQtAk9z2imhg7ns8j6mgoGboqNOtTg4y1lGn
 6NXw==
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=yfIe065JhS2EQaKnra8sPyJ1GcEY8Pvhh/ymrfcGI2k=;
 b=7Ro/AsK5nemykp8lHXE8tpGQaf4AiIIJXHjfGVTaE+3xQvOAMTLV80IS0X4F2nA9HU
 b4taAh3ahBJ6Iuxt4/c875I1hbr52Oc8NjhUdYYInlcsoK1K9bwWIhl6sUTszixJJLI0
 493ElfxP/ko0zTy4gPSVtOEu+nGVbYN/uPfd7WlMHKkPkO/Mw5X1xNza4A4wjzDveHLP
 eWIohFjBtjdOTlC+UzkYs2vPn5JCmcMn8K70NV25uJujGCzdVncCyNT+ey7mUEnodHeI
 u6qXYw5i6L+g91f1uMdCx+TQEH6M/43nWhJHUYVmM9biZQeyB5RHEBUPyA/Pivo+NMBc
 06jg==
X-Gm-Message-State: AJIora/UwdiQgPOOBQRMcJUDL1Tq/BBGAQRmXaWE9kydexHsjbpWRYa4
 guaDSq7y2FTeUocE4NIOMXxfWw==
X-Google-Smtp-Source: AGRyM1tUk+C5uZj80GAE3utL4Q55wUm3snK5cjQJvvwHc1pDSIpL3x5Ti5PUmGlh4mZw9Mj/c3cGHg==
X-Received: by 2002:a2e:8881:0:b0:255:7790:25e6 with SMTP id
 k1-20020a2e8881000000b00255779025e6mr14062760lji.525.1655814513476; 
 Tue, 21 Jun 2022 05:28:33 -0700 (PDT)
Received: from toster.office.semihalf.net ([83.142.187.84])
 by smtp.gmail.com with ESMTPSA id
 u23-20020a197917000000b0047255d21107sm2143982lfc.54.2022.06.21.05.28.32
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 21 Jun 2022 05:28:33 -0700 (PDT)
From: Stanislaw Kardach <kda@semihalf.com>
To: Ruifeng Wang <ruifeng.wang@arm.com>,
 David Christensen <drc@linux.vnet.ibm.com>
Cc: Stanislaw Kardach <kda@semihalf.com>, dev@dpdk.org, upstream@semihalf.com
Subject: [PATCH 2/2] ci: use crossbuild-essential packages
Date: Tue, 21 Jun 2022 14:28:24 +0200
Message-Id: <20220621122824.187905-3-kda@semihalf.com>
X-Mailer: git-send-email 2.30.2
In-Reply-To: <20220621122824.187905-1-kda@semihalf.com>
References: <20220621122824.187905-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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

The crossbuild-essential-<arch> packages contain all necessary
dependencies to cross-compile binaries for a given architecture
including C and C++ compilers. Therefore use those instead of listing
packages directly. This way C++ compiler is also installed and C++
include checks will be checked in CI for PowerPC and ARM.

Signed-off-by: Stanislaw Kardach <kda@semihalf.com>
---
 .github/workflows/build.yml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c0d2829d0e..1106256539 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -128,15 +128,13 @@ jobs:
       run: sudo apt install -y gcc-multilib g++-multilib
     - name: Install aarch64 cross compiling packages
       if: env.AARCH64 == 'true'
-      run: sudo apt install -y gcc-aarch64-linux-gnu libc6-dev-arm64-cross
-        pkg-config-aarch64-linux-gnu
+      run: sudo apt install -y crossbuild-essential-arm64
     - name: Install mingw cross compiling packages
       if: env.MINGW == 'true'
       run: sudo apt install -y mingw-w64 mingw-w64-tools
     - name: Install ppc64le cross compiling packages
       if: env.PPC64LE == 'true'
-      run: sudo apt install -y gcc-powerpc64le-linux-gnu libc6-dev-ppc64el-cross
-        pkg-config-powerpc-linux-gnu
+      run: sudo apt install -y crossbuild-essential-ppc64el
     - name: Install riscv64 cross compiling packages
       if: env.RISCV64 == 'true'
       run: sudo apt install -y crossbuild-essential-riscv64
-- 
2.30.2