On 1/28/21 1:34 PM, Kevin Traynor wrote:
> On 28/01/2021 10:32, Sunil Pai G wrote:
>> 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 <[email protected]>
> 
>> Tested-at: https://github.com/Sunil-Pai-G/ovs/actions/runs/514412775
> 
> It doesn't seem necessary to have ^ in the commit log but may be useful
> after the cutline? I guess it can be stripped out when applying.
> 
>> Signed-off-by: Sunil Pai G <[email protected]>
>>
> 
> It resolved issue with incorrect reporting about pkg-config version on
> Fedora and improves the docs.
> 
> Acked-by: Kevin Traynor <[email protected]>
> 

Thanks!
Applied to master and branch-2.15.

Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to