[ovs-git] [openvswitch/ovs] bb8f0e: acinclude: Strip out -mno-avx512f provided by DPDK.

istokes noreply at github.com
Wed Jan 20 18:11:47 UTC 2021


  Branch: refs/heads/branch-2.14
  Home:   https://github.com/openvswitch/ovs
  Commit: bb8f0e2a810889241f1d886d160ccee9b96c4d63
      https://github.com/openvswitch/ovs/commit/bb8f0e2a810889241f1d886d160ccee9b96c4d63
  Author: Ian Stokes <ian.stokes at intel.com>
  Date:   2021-01-20 (Wed, 20 Jan 2021)

  Changed paths:
    M acinclude.m4

  Log Message:
  -----------
  acinclude: Strip out -mno-avx512f provided by DPDK.

DPDK forces '-mno-avx512f' flag for the application if the toolchain
used to build DPDK had broken AVX512 support.

DPDK forces '-mno-avx512f' flag for the application if the toolchain
used to build DPDK had broken AVX512 support.  But OVS could be built
with a completely different or fixed toolchain with correct avx512
support.

Fix that by stripping out `-mno-avx512f` as we already do for '-march'.
This will allow the OVS to decide if the AVX512 can be used.

Reordering of CFLAGS (i.e. adding DPDK flags before OVS ones) is not an
option since autotools might reorder them back later and it's very
unpredictable.

Reported-at: https://github.com/openvswitch/ovs-issues/issues/201
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
Co-authored-by: Ilya Maximets <i.maximets at ovn.org>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>




More information about the git mailing list