DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] fix C++ include checks in cross-compilation
@ 2022-06-21 12:28 Stanislaw Kardach
  2022-06-21 12:28 ` [PATCH 1/2] config: Use G++ as C++ compiler Stanislaw Kardach
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Stanislaw Kardach @ 2022-06-21 12:28 UTC (permalink / raw)
  To: dev; +Cc: Stanislaw Kardach, upstream

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-06-23  8:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-21 12:28 [PATCH 0/2] fix C++ include checks in cross-compilation Stanislaw Kardach
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

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).