On Tue, May 27, 2025 at 05:24:56PM +0100, Bruce Richardson wrote:
> When doing a build for a target that already has the instruction sets
> for AVX2/AVX512 enabled, skip emitting the AVX compiler flags, or the
> skylake-avx512 '-march' flags, as they are unnecessary. Instead, when
> the default flags produce the desired output, just use them unmodified,
> and don't bother adding in extra enabling flags for AVX2 or AVX-512.
> 
> Depends-on: series-35006 ("doc/linux_gsg: update recommended compiler 
> versions")
> 
> Signed-off-by: Bruce Richardson <bruce.richard...@intel.com>
> ---
> 
> V2: dropped the doc update for the minimum meson version. Based on
>     discussion, that version bump is larger than proposed in RFC and
>     is now a separate patch/series [series 35006 referenced above]
> 
> ---
>  config/x86/meson.build | 31 ++++++++++++++++++++-----------
>  drivers/meson.build    |  9 +--------
>  lib/meson.build        |  9 +--------
>  3 files changed, 22 insertions(+), 27 deletions(-)
> 

Just to note that the failures reported with Intel CI on this patch are due
to a bug in meson 0.60 release (fixed in 0.60.2[1]) which causes it to give an
error on printing a list value.

/Bruce

[1] 
https://github.com/mesonbuild/meson/commit/168f9ea312b98c4a079602f40448d15d3cb28cfa

Reply via email to