> -----Original Message-----
> From: Ali Alnubani <alia...@nvidia.com>
> Sent: Tuesday, August 30, 2022 9:36 PM
> To: David Christensen <d...@linux.vnet.ibm.com>
> Cc: dev@dpdk.org; Thinh Tran <thin...@linux.vnet.ibm.com>; NBU-Contact-
> Thomas Monjalon (EXTERNAL) <tho...@monjalon.net>
> Subject: RE: [PATCH] config: set pkgconfig for ppc64le
> 
> > On 8/29/22 3:30 AM, Thomas Monjalon wrote:
> > > What is the conclusion on this patch?
> > > It is good to go? Acked?
> >
> > Not from me yet.
> >
> > Just asked about the test environment so I can duplicate the issue.  My
> > understanding is that Ubuntu cross-compiles for CI/CD are still working
> > so I'd like to understand the test case the drives this need.
> >
> > Dave
> 
> Trying to enable the mlx drivers when cross-building for ppc64le, I added the
> directory containing
> the .pc files from an rdma-core (https://github.com/linux-rdma/rdma-core)
> ppc64le cross build, but Meson
> didn't detect the dependencies without installing pkg-config-powerpc64le-
> linux-gnu and setting
> binaries.pkgconfig as powerpc64le-linux-gnu-pkg-config.
> 
> I just tried to reproduce the issue with a cross build of numactl, but Meson
> will not
> detect it, even with my change. Seems that
> PKG_CONFIG_PATH=:/path/to/numactl/build/lib/pkgconfig
> gets ignored.
> 

Hello David,

Do you still have any concerns about this change?
Do you have any similar use-cases that you can test? (i.e., check if pkg-config 
can detect a cross-built dependency for ppc64le).

By the way, we do a similar change for arm cross builds:
https://git.dpdk.org/dpdk/commit/config/arm/arm64_armv8_linux_gcc?id=f31d17807236094268ccd1bead5d740a10fec513

Thanks,
Ali

Reply via email to