[PATCH] build: allow disabling avx512 support via compiler flag
Thomas Monjalon
thomas at monjalon.net
Wed Feb 12 16:35:26 CET 2025
11/02/2025 18:02, Stokes, Ian:
> > DPDK build checks for build support for various instruction sets by
> > checking both the target machine and the compiler for support. However,
> > any disabling of instruction sets via compiler flags was not taken into
> > account in many cases. For AVX512 support, check for a user-specified
> > "no-avx512f" flag in the c_args parameter before checking if the
> > compiler can actually build AVX512 code.
> >
> > As well as providing an option for the user, this can be used to test
> > builds without AVX512 without having to use an older compiler.
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
>
> Thanks Bruce,
>
> tested ok for me, LGTM.
>
> Acked-by: Ian Stokes <ian.stokes at intel.com>
Applied, thanks.
More information about the dev
mailing list