X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fice%2Fmeson.build;h=99e1b773a3560fa1f647c6ce0b0ff3749f2a580d;hb=eca9a0d6c8436eba70e60873dd5625bd52a65262;hp=20ed7d49e9e75fbf504fa33f4e3dd609bb0c6398;hpb=7564d5509611523233c617e8199d2d501acae1fd;p=dpdk.git diff --git a/drivers/net/ice/meson.build b/drivers/net/ice/meson.build index 20ed7d49e9..99e1b773a3 100644 --- a/drivers/net/ice/meson.build +++ b/drivers/net/ice/meson.build @@ -22,7 +22,7 @@ if arch_subdir == 'x86' # compile AVX2 version if either: # a. we have AVX supported in minimum instruction set baseline # b. it's not minimum instruction set, but supported by compiler - if dpdk_conf.has('RTE_MACHINE_CPUFLAG_AVX2') + if cc.get_define('__AVX2__', args: machine_args) != '' sources += files('ice_rxtx_vec_avx2.c') elif cc.has_argument('-mavx2') ice_avx2_lib = static_library('ice_avx2_lib', @@ -36,6 +36,7 @@ if arch_subdir == 'x86' endif sources += files('ice_dcf.c', - 'ice_dcf_ethdev.c') + 'ice_dcf_ethdev.c', + 'ice_dcf_parent.c') install_headers('rte_pmd_ice.h')