[dpdk-dev] [PATCH] devtools/test-meson-builds: allow custom set of examples

Thomas Monjalon thomas at monjalon.net
Thu Nov 12 16:40:42 CET 2020


09/11/2020 11:01, David Marchand:
> On Tue, Oct 27, 2020 at 6:39 PM Bruce Richardson
> <bruce.richardson at intel.com> wrote:
> >
> > To test the installation process of DPDK using "ninja install"
> > test-meson-builds.sh builds a subset of the examples using "make". To allow
> > more flexibility for people testing, allow the set of examples chosen for
> > this make test to be overridden using variable "DPDK_BUILD_TEST_EXAMPLES"
> > in the environment.
> >
> > Since a number of example apps link against drivers directly even for
> > shared builds, we need to ensure that LD_LIBRARY_PATH points to the main
> > DPDK lib folder so any dependencies of those drivers can be found e.g. that
> > the PCI/vdev bus driver .so is found. [All drivers are symlinked from
> > drivers dir back to lib dir on install, so only one dir rather than two is
> > needed in the path.]
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> > ---
> 
> I had something similar in store for a while, happy to get a better fix.
> Acked-by: David Marchand <david.marchand at redhat.com>

The behaviour of pkg-config --define-prefix is kind of magic,
but that's unrelated to this patch or this script :)

Acked-by: Thomas Monjalon <thomas at monjalon.net>

Applied, thanks




More information about the dev mailing list