]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/i40e/meson.build
net/i40e: disable AVX512 with MinGW
[dpdk.git] / drivers / net / i40e / meson.build
index c0acdf4fd407c64e4001a0f9bca75a4e60d441a2..f5fc5a17e0a236c830d3df3364aeccdb8d5318d1 100644 (file)
@@ -54,6 +54,10 @@ if arch_subdir == 'x86'
                cc.has_argument('-mavx512f') and
                cc.has_argument('-mavx512bw'))
 
+       if is_windows and cc.get_id() != 'clang'
+               i40e_avx512_cc_support = false
+       endif
+
        if i40e_avx512_cpu_support == true or i40e_avx512_cc_support == true
                cflags += ['-DCC_AVX512_SUPPORT']
                avx512_args = [cflags, '-mavx512f', '-mavx512bw']