Re: [dpdk-dev] [PATCH v2] ifpga/base/meson: fix looking for librt

2021-08-30 Thread Ferruh Yigit
On 7/22/2021 9:16 AM, mohamad.noor.alim.hus...@intel.com wrote: > From: Mohamad Noor Alim Hussin > > Finding with "librt" keyword would give the output with full path of librt > such > as /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/librt.so > instead of -lrt in libdpdk.pc pkg-confi

[dpdk-dev] [PATCH v2] ifpga/base/meson: fix looking for librt

2021-07-22 Thread mohamad . noor . alim . hussin
From: Mohamad Noor Alim Hussin Finding with "librt" keyword would give the output with full path of librt such as /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/librt.so instead of -lrt in libdpdk.pc pkg-config file. Assume find_library() will prepend "lib", thus remove "lib" from "li

Re: [dpdk-dev] [PATCH v2] ifpga/base/meson: fix looking for librt

2021-07-15 Thread Bruce Richardson
On Thu, Jul 15, 2021 at 10:00:19AM +0200, David Marchand wrote: > Hello, > > On Wed, Jul 14, 2021 at 5:40 AM Zhang, Tianfei > wrote: > > > > > > > > Hi Tianfei, > > > > > > To reproduce this, assume using Ubuntu 20.04. > > > 1. Install libfdt (It will include ifpga driver from > > > drivers/raw

Re: [dpdk-dev] [PATCH v2] ifpga/base/meson: fix looking for librt

2021-07-15 Thread David Marchand
Hello, On Wed, Jul 14, 2021 at 5:40 AM Zhang, Tianfei wrote: > > > > > Hi Tianfei, > > > > To reproduce this, assume using Ubuntu 20.04. > > 1. Install libfdt (It will include ifpga driver from drivers/raw/ifpga/base) > > $ sudo apt-get install libfdt-dev > > 2. configure DPDK library > >

Re: [dpdk-dev] [PATCH v2] ifpga/base/meson: fix looking for librt

2021-07-13 Thread Zhang, Tianfei
> > Hi Tianfei, > > To reproduce this, assume using Ubuntu 20.04. > 1. Install libfdt (It will include ifpga driver from drivers/raw/ifpga/base) > $ sudo apt-get install libfdt-dev > 2. configure DPDK library > $ meson build > 3. check libdpdk.pc file in build/meson-private/libdpdk.pc. It

Re: [dpdk-dev] [PATCH v2] ifpga/base/meson: fix looking for librt

2021-07-01 Thread Hussin, Mohamad Noor Alim
Hi Tianfei, To reproduce this, assume using Ubuntu 20.04. 1. Install libfdt (It will include ifpga driver from drivers/raw/ifpga/base) $ sudo apt-get install libfdt-dev 2. configure DPDK library $ meson build 3. check libdpdk.pc file in build/meson-private/libdpdk.pc. It will include path

Re: [dpdk-dev] [PATCH v2] ifpga/base/meson: fix looking for librt

2021-07-01 Thread Zhang, Tianfei
> -Original Message- > From: Xu, Rosen > Sent: 2021年6月30日 18:03 > To: Hussin, Mohamad Noor Alim ; > Zhang, Tianfei > Cc: dev@dpdk.org; Huang, Wei ; sta...@dpdk.org > Subject: RE: [PATCH v2] ifpga/base/meson: fix looking for librt > > CC Tianfei, who is maintainer. > > > -Original

Re: [dpdk-dev] [PATCH v2] ifpga/base/meson: fix looking for librt

2021-06-30 Thread Xu, Rosen
CC Tianfei, who is maintainer. > -Original Message- > From: Hussin, Mohamad Noor Alim > Sent: Wednesday, June 30, 2021 17:26 > To: Xu, Rosen > Cc: dev@dpdk.org; Hussin, Mohamad Noor Alim > ; Huang, Wei > ; sta...@dpdk.org > Subject: [PATCH v2] ifpga/base/meson: fix looking for librt > >