dpdk/fix-buildsystem-python36.patch
Dirk Mueller cbbbc20843 Accepting request 957836 from home:susnux:branches:network
Update to LTS version 21.11.

Fixes Factory / Tumbleweed and required for more recent versions of openvswitch

OBS-URL: https://build.opensuse.org/request/show/957836
OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=131
2022-03-03 10:14:10 +00:00

13 lines
814 B
Diff

diff -Nur dpdk-21.11/buildtools/binutils-avx512-check.py new/buildtools/binutils-avx512-check.py
--- dpdk-21.11/buildtools/binutils-avx512-check.py 2021-11-26 18:58:21.000000000 +0100
+++ new/buildtools/binutils-avx512-check.py 2022-02-26 18:44:13.325608971 +0100
@@ -15,7 +15,7 @@
src = '__asm__("vpgatherqq {}");'.format(gather_params).encode('utf-8')
subprocess.run(cc + ['-c', '-xc', '-o', obj.name, '-'], input=src, check=True)
asm = subprocess.run([objdump, '-d', '--no-show-raw-insn', obj.name],
- capture_output=True, check=True).stdout.decode('utf-8')
+ stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=True).stdout.decode('utf-8')
if gather_params not in asm:
print('vpgatherqq displacement error with as')
sys.exit(1)