How to build DPDK without usertools/dpdk-setup.sh?

David Aldrich david.aldrich.ntml at gmail.com
Wed Sep 11 19:01:07 CEST 2024


Thanks for your reply. That problem is fixed now. I am going to start
a new thread for my driver problem.

Best regards
David

On Wed, Sep 11, 2024 at 5:12 PM Richardson, Bruce
<bruce.richardson at intel.com> wrote:
>
>
>
> > -----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