[dpdk-dev] Question Of binutils-avx512-check
Liang Ma
liangma at liangbit.com
Thu May 20 23:22:03 CEST 2021
Hi All,
I try to build DPDK with debug build-type but the building process is
failed becuase of AVX512 code from librte-acl. The release build type
is fine. Hence, I dig a bit into the avx512 enabling logic of meson.
I found the main logic is implemented inside binutils-avx512-check.sh.
It looks the script focus on checking the compatiblity of tools-chain
instead of CPUID. My problem is current script will produce avx512
code even I build dpdk on AMD platform. I understand the avx512 code
may not be used in runtime. I just wonder why we can not check the
cpuid as well ?
Regards
Liang
More information about the dev
mailing list