DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/3] config/x86: improve AVX512 availability check
@ 2021-11-12 21:48 Dmitry Kozlyuk
  2021-11-12 21:48 ` [PATCH 1/3] config/x86: skip GNU binutils bug check for LLVM Dmitry Kozlyuk
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Dmitry Kozlyuk @ 2021-11-12 21:48 UTC (permalink / raw)
  To: dev; +Cc: Dmitry Kozlyuk

The goal of this series is to enable cross-compilation
of Windows binaries from Linux using MinGW with Meson 0.49 used in CI.
It also aims to reduce difference between Unix and Windows build code.

AVX512 was switched off for MinGW cross builds,
but unfortunately in a way that is not usable with meson 0.49.
Also, c_args was used instead of machine_args for -mno-avx512f.
After patch 3/3, AVX512 support for MinGW cross builds
is configured exactly the same way as for Unix builds.
This required rewriting a Unix-specific script in patch 2/3.
Patch 1/3 skips check of GNU binutils when LLVM suite is used:
it is useful in general [1], and also simplifies patch 2/3.

[1]: https://inbox.dpdk.org/dev/20211112160837.131994aa@sovereign

Dmitry Kozlyuk (3):
  config/x86: skip GNU binutils bug check for LLVM
  buildtools: make AVX512 check script portable
  config/x86: fix MinGW cross build with meson 0.49

 buildtools/binutils-avx512-check.py | 21 +++++++++++++++++++++
 buildtools/binutils-avx512-check.sh | 16 ----------------
 buildtools/meson.build              |  4 +++-
 config/x86/cross-mingw              |  4 +---
 config/x86/meson.build              |  7 ++++---
 lib/acl/meson.build                 |  2 +-
 lib/fib/meson.build                 |  2 +-
 7 files changed, 31 insertions(+), 25 deletions(-)
 create mode 100644 buildtools/binutils-avx512-check.py
 delete mode 100755 buildtools/binutils-avx512-check.sh

-- 
2.29.3


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

end of thread, other threads:[~2021-11-17  8:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-12 21:48 [PATCH 0/3] config/x86: improve AVX512 availability check Dmitry Kozlyuk
2021-11-12 21:48 ` [PATCH 1/3] config/x86: skip GNU binutils bug check for LLVM Dmitry Kozlyuk
2021-11-15  9:17   ` Bruce Richardson
2021-11-12 21:48 ` [PATCH 2/3] buildtools: make AVX512 check script portable Dmitry Kozlyuk
2021-11-15  9:28   ` Bruce Richardson
2021-11-12 21:48 ` [PATCH 3/3] config/x86: fix MinGW cross build with meson 0.49 Dmitry Kozlyuk
2021-11-15  9:30   ` Bruce Richardson
2021-11-17  8:42 ` [PATCH 0/3] config/x86: improve AVX512 availability check Thomas Monjalon

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