]> git.droids-corp.org - dpdk.git/commit
buildtools: fix AVX512 check for Python 3.5
authorLance Richardson <lance.richardson@broadcom.com>
Mon, 3 Jan 2022 17:09:40 +0000 (12:09 -0500)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 12 Jan 2022 17:06:52 +0000 (18:06 +0100)
commiteefbfbf5ea6ee667c27463dfb91e478ccd6607c4
treef147d06d559cd401ea5b91fbdb69510601b9c020
parent33e71acf3d446ced520f07e4d75769323e0ec22c
buildtools: fix AVX512 check for Python 3.5

Python 3.5 subprocess.run() does not have a capture_output
parameter (it is present only in 3.7 and up).
Capture output by using subprocess.PIPE for stdout instead.

Fixes: bb9cd91095b3 ("buildtools: make AVX512 check portable")
Cc: stable@dpdk.org
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
buildtools/binutils-avx512-check.py