> -----Original Message-----
> From: David Marchand <david.march...@redhat.com>
> Sent: Wednesday, September 11, 2024 4:52 PM
> To: David Aldrich <david.aldrich.n...@gmail.com>
> Cc: users <users@dpdk.org>; Richardson, Bruce
> <bruce.richard...@intel.com>
> Subject: Re: How to build DPDK without usertools/dpdk-setup.sh?
> 
> Hello,
> 
> On Wed, Sep 11, 2024 at 3:39 PM David Aldrich
> <david.aldrich.n...@gmail.com> wrote:
> >
> > I don't want to 'install' because I am experimenting with different
> > dpdk versions.
> 
> Well, I live with many different versions of DPDK.
> The only trick is to pass a -Dprefix=$(pwd)/install and make your
> application use this directory.
> 

You can also build and link against an uninstalled DPDK by using the pkg-config 
files in the "meson-uninstalled" directory of your build.

For example, to get linker line use:
        "PKG_CONFIG_PATH=./build/meson-uninstalled/ pkg-config --libs libdpdk"

> >
> > Is it possible to produce a target directory in v.20.11.10 similar to
> > that of dpdk-stable-19.11.14/x86_64-native-linux-gcc?
> 
> An installed dpdk should be quite similar.
> 
Agreed.

Reply via email to