[ovs-git] [openvswitch/ovs] 70a7f7: acinclude: Remove default library for DPDK.

Sunil Pai G noreply at github.com
Fri Jan 29 19:53:15 UTC 2021


  Branch: refs/heads/branch-2.15
  Home:   https://github.com/openvswitch/ovs
  Commit: 70a7f7f960bdc417076e77f73b8f23d5461d906f
      https://github.com/openvswitch/ovs/commit/70a7f7f960bdc417076e77f73b8f23d5461d906f
  Author: Sunil Pai G <sunil.pai.g at intel.com>
  Date:   2021-01-29 (Fri, 29 Jan 2021)

  Changed paths:
    M Documentation/intro/install/dpdk.rst
    M acinclude.m4

  Log Message:
  -----------
  acinclude: Remove default library for DPDK.

The default DPDK library used before this patch in case pkg-config
fails to find libdpdk is only valid for make based DPDK builds.
Hence remove them.

As a consequence, now this error message [1] is thrown when pkg-config
cannot find libdpdk instead of proceeding to check for a faulty
pkg-config and reporting incorrect error message [2].

Also, update the documentation to export PKG_CONFIG_PATH since on some
systems, the default install path for DPDK libraries is not present in
the default search path of pkg-config.
Ex: for Fedora 32 default pkg-config search path:
  /usr/lib64/pkgconfig:/usr/share/pkgconfig

while by default Meson installs DPDK libraries at:
  /usr/local/lib64/pkgconfig

[1] Package libdpdk was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libdpdk.pc'
    to the PKG_CONFIG_PATH environment variable
    Package 'libdpdk', required by 'virtual:world', not found

[2] checking for DPDK... no
    checking for faulty pkg-config version... yes
    configure: error: Please upgrade pkg-config

Also, update the build documentation for AVX512 optimization.

Fixes: 252e1e576443 ("dpdk: Update to use DPDK v20.11.")
Reported-by: Kevin Traynor <ktraynor at redhat.com>
Acked-by: Kevin Traynor <ktraynor at redhat.com>
Signed-off-by: Sunil Pai G <sunil.pai.g at intel.com>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>




More information about the git mailing list