Re: [dpdk-dev] [PATCH v6 2/5] build: use dependency() instead of find_library()

2019-02-13 Thread Luca Boccassi
On Wed, 2019-02-13 at 12:10 +0100, Thomas Monjalon wrote: > 13/02/2019 11:49, Luca Boccassi: > > On Tue, 2019-02-12 at 17:21 +0100, Thomas Monjalon wrote: > > > Luca, please could you test cross-compilation? > > > > Hi, > > > > I would, except downloading the toolchain from Linaro fails with > >

Re: [dpdk-dev] [PATCH v6 2/5] build: use dependency() instead of find_library()

2019-02-13 Thread Luca Boccassi
On Wed, 2019-02-13 at 10:49 +, Luca Boccassi wrote: > On Tue, 2019-02-12 at 17:21 +0100, Thomas Monjalon wrote: > > 12/02/2019 16:03, Bruce Richardson: > > > On Tue, Feb 12, 2019 at 03:47:56PM +0100, Thomas Monjalon wrote: > > > > 12/02/2019 12:43, Bruce Richardson: > > > > > On Tue, Feb 12, 20

Re: [dpdk-dev] [PATCH v6 2/5] build: use dependency() instead of find_library()

2019-02-13 Thread Thomas Monjalon
13/02/2019 11:49, Luca Boccassi: > On Tue, 2019-02-12 at 17:21 +0100, Thomas Monjalon wrote: > > Luca, please could you test cross-compilation? > > Hi, > > I would, except downloading the toolchain from Linaro fails with 403 > forbidden... > > https://releases.linaro.org/components/toolchain/bin

Re: [dpdk-dev] [PATCH v6 2/5] build: use dependency() instead of find_library()

2019-02-13 Thread Luca Boccassi
On Tue, 2019-02-12 at 17:21 +0100, Thomas Monjalon wrote: > 12/02/2019 16:03, Bruce Richardson: > > On Tue, Feb 12, 2019 at 03:47:56PM +0100, Thomas Monjalon wrote: > > > 12/02/2019 12:43, Bruce Richardson: > > > > On Tue, Feb 12, 2019 at 12:36:17PM +0100, Thomas Monjalon > > > > wrote: > > > > > 1

Re: [dpdk-dev] [PATCH v6 2/5] build: use dependency() instead of find_library()

2019-02-12 Thread Thomas Monjalon
12/02/2019 16:03, Bruce Richardson: > On Tue, Feb 12, 2019 at 03:47:56PM +0100, Thomas Monjalon wrote: > > 12/02/2019 12:43, Bruce Richardson: > > > On Tue, Feb 12, 2019 at 12:36:17PM +0100, Thomas Monjalon wrote: > > > > 12/02/2019 12:31, Bruce Richardson: > > > > > On Tue, Feb 12, 2019 at 12:15:4

Re: [dpdk-dev] [PATCH v6 2/5] build: use dependency() instead of find_library()

2019-02-12 Thread Bruce Richardson
On Tue, Feb 12, 2019 at 03:47:56PM +0100, Thomas Monjalon wrote: > 12/02/2019 12:43, Bruce Richardson: > > On Tue, Feb 12, 2019 at 12:36:17PM +0100, Thomas Monjalon wrote: > > > 12/02/2019 12:31, Bruce Richardson: > > > > On Tue, Feb 12, 2019 at 12:15:43PM +0100, Thomas Monjalon wrote: > > > > > 06

Re: [dpdk-dev] [PATCH v6 2/5] build: use dependency() instead of find_library()

2019-02-12 Thread Thomas Monjalon
12/02/2019 12:43, Bruce Richardson: > On Tue, Feb 12, 2019 at 12:36:17PM +0100, Thomas Monjalon wrote: > > 12/02/2019 12:31, Bruce Richardson: > > > On Tue, Feb 12, 2019 at 12:15:43PM +0100, Thomas Monjalon wrote: > > > > 06/02/2019 18:08, Luca Boccassi: > > > > > Whenever possible (if the library

Re: [dpdk-dev] [PATCH v6 2/5] build: use dependency() instead of find_library()

2019-02-12 Thread Bruce Richardson
On Tue, Feb 12, 2019 at 12:36:17PM +0100, Thomas Monjalon wrote: > 12/02/2019 12:31, Bruce Richardson: > > On Tue, Feb 12, 2019 at 12:15:43PM +0100, Thomas Monjalon wrote: > > > 06/02/2019 18:08, Luca Boccassi: > > > > Whenever possible (if the library ships a pkg-config file) use meson's > > > > d

Re: [dpdk-dev] [PATCH v6 2/5] build: use dependency() instead of find_library()

2019-02-12 Thread Thomas Monjalon
12/02/2019 12:31, Bruce Richardson: > On Tue, Feb 12, 2019 at 12:15:43PM +0100, Thomas Monjalon wrote: > > 06/02/2019 18:08, Luca Boccassi: > > > Whenever possible (if the library ships a pkg-config file) use meson's > > > dependency() function to look for it, as it will automatically add it > > >

Re: [dpdk-dev] [PATCH v6 2/5] build: use dependency() instead of find_library()

2019-02-12 Thread Bruce Richardson
On Tue, Feb 12, 2019 at 12:15:43PM +0100, Thomas Monjalon wrote: > 06/02/2019 18:08, Luca Boccassi: > > Whenever possible (if the library ships a pkg-config file) use meson's > > dependency() function to look for it, as it will automatically add it > > to the Requires.private list if needed, to all

Re: [dpdk-dev] [PATCH v6 2/5] build: use dependency() instead of find_library()

2019-02-12 Thread Thomas Monjalon
06/02/2019 18:08, Luca Boccassi: > Whenever possible (if the library ships a pkg-config file) use meson's > dependency() function to look for it, as it will automatically add it > to the Requires.private list if needed, to allow for static builds to > succeed for reverse dependencies of DPDK. Other

[dpdk-dev] [PATCH v6 2/5] build: use dependency() instead of find_library()

2019-02-06 Thread Luca Boccassi
Whenever possible (if the library ships a pkg-config file) use meson's dependency() function to look for it, as it will automatically add it to the Requires.private list if needed, to allow for static builds to succeed for reverse dependencies of DPDK. Otherwise the recursive dependencies are not p