How to build DPDK without usertools/dpdk-setup.sh?
Richardson, Bruce
bruce.richardson at intel.com
Wed Sep 11 18:11:50 CEST 2024
> -----Original Message-----
> From: David Marchand <david.marchand at redhat.com>
> Sent: Wednesday, September 11, 2024 4:52 PM
> To: David Aldrich <david.aldrich.ntml at gmail.com>
> Cc: users <users at dpdk.org>; Richardson, Bruce
> <bruce.richardson at 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.ntml at 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.
More information about the users
mailing list