[PATCH 0/3] config/x86: improve AVX512 availability check

Thomas Monjalon thomas at monjalon.net
Wed Nov 17 09:42:58 CET 2021


12/11/2021 22:48, 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

Applied, thanks.

Note 1: MAINTAINERS was updated for the new script.
Note 2: patch 3 cannot be backported without patch 2, so no Cc:stable on purpose.





More information about the dev mailing list