[dpdk-dev] [PATCH] net/i40e: disable AVX512 with MinGW
Leyi Rong
leyi.rong at intel.com
Tue Feb 2 10:06:39 CET 2021
Disable i40e AVX512 code path for Windows build regardless of CPU
capability to avoid the MinGW build error:
Error: invalid register for .seh_savexmm
Signed-off-by: Leyi Rong <leyi.rong at intel.com>
---
drivers/net/i40e/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/i40e/meson.build b/drivers/net/i40e/meson.build
index f5fc5a17e..26cd201ee 100644
--- a/drivers/net/i40e/meson.build
+++ b/drivers/net/i40e/meson.build
@@ -56,6 +56,7 @@ if arch_subdir == 'x86'
if is_windows and cc.get_id() != 'clang'
i40e_avx512_cc_support = false
+ i40e_avx512_cpu_support = false
endif
if i40e_avx512_cpu_support == true or i40e_avx512_cc_support == true
--
2.17.1
More information about the dev
mailing list