DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stanislaw Kardach <kda@semihalf.com>
To: dev@dpdk.org
Cc: Stanislaw Kardach <kda@semihalf.com>, upstream@semihalf.com
Subject: [PATCH 0/2] fix C++ include checks in cross-compilation
Date: Tue, 21 Jun 2022 14:28:22 +0200	[thread overview]
Message-ID: <20220621122824.187905-1-kda@semihalf.com> (raw)

Meson detects the C++ cross-compiler during configuration and based on
that reports whether C++ language is available or not.
The C++ include check target (buildtools/chkincs/chkincs-cpp) is only
built when C++ language is available.

There are 2 issues that currently prevent those checks to be run in
cross-compiled environments:

* PowerPC and ARM cross-files define cpp instead of g++ as C++ compiler.
  That's wrong because cpp is a C Preprocessor binary.
* The CI workflow file does not install a g++ cross-compiler.

This patchset fixes both issues.

Stanislaw Kardach (2):
  config: Use G++ as C++ compiler
  ci: use crossbuild-essential packages

 .github/workflows/build.yml                | 6 ++----
 config/arm/arm32_armv8_linux_gcc           | 2 +-
 config/arm/arm64_armada_linux_gcc          | 2 +-
 config/arm/arm64_armv8_linux_gcc           | 2 +-
 config/arm/arm64_bluefield_linux_gcc       | 2 +-
 config/arm/arm64_centriq2400_linux_gcc     | 2 +-
 config/arm/arm64_cn10k_linux_gcc           | 2 +-
 config/arm/arm64_cn9k_linux_gcc            | 2 +-
 config/arm/arm64_dpaa_linux_gcc            | 2 +-
 config/arm/arm64_emag_linux_gcc            | 2 +-
 config/arm/arm64_graviton2_linux_gcc       | 2 +-
 config/arm/arm64_kunpeng920_linux_gcc      | 2 +-
 config/arm/arm64_kunpeng930_linux_gcc      | 2 +-
 config/arm/arm64_n1sdp_linux_gcc           | 2 +-
 config/arm/arm64_n2_linux_gcc              | 2 +-
 config/arm/arm64_stingray_linux_gcc        | 2 +-
 config/arm/arm64_thunderx2_linux_gcc       | 2 +-
 config/arm/arm64_thunderxt83_linux_gcc     | 2 +-
 config/arm/arm64_thunderxt88_linux_gcc     | 2 +-
 config/ppc/ppc64le-power8-linux-gcc        | 2 +-
 config/ppc/ppc64le-power8-linux-gcc-ubuntu | 2 +-
 21 files changed, 22 insertions(+), 24 deletions(-)

-- 
2.30.2

             reply	other threads:[~2022-06-21 12:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-21 12:28 Stanislaw Kardach [this message]
2022-06-21 12:28 ` [PATCH 1/2] config: Use G++ as C++ compiler Stanislaw Kardach
2022-06-21 14:25   ` Bruce Richardson
2022-06-21 19:53   ` Tyler Retzlaff
2022-06-22  5:07     ` Stanisław Kardach
2022-06-22 16:05       ` Tyler Retzlaff
2022-06-22 16:24         ` Morten Brørup
2022-06-21 12:28 ` [PATCH 2/2] ci: use crossbuild-essential packages Stanislaw Kardach
2022-06-23  8:04   ` David Marchand
2022-06-23  8:04 ` [PATCH 0/2] fix C++ include checks in cross-compilation David Marchand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220621122824.187905-1-kda@semihalf.com \
    --to=kda@semihalf.com \
    --cc=dev@dpdk.org \
    --cc=upstream@semihalf.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).