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

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


Hi

With dpdk v.19.11.14 I built dpdk for target 'x86_64-native-linux-gcc'
using usertools/dpdk-setup.sh (option 44).

The resulting directory structure included:

$ ls dpdk-stable-19.11.14/x86_64-native-linux-gcc
app  build  include  kmod  lib  Makefile

I am now moving to dpdk v.20.11.10 in which usertools/dpdk-setup.sh is
deprecated. I build with:

$ meson -Dexamples=all build
$ cd build
$ ninja

which results in:

$ ls build
app          buildtools             config  drivers   lib
meson-logs     meson-uninstalled   usertools
build.ninja  compile_commands.json  doc     examples  meson-info
meson-private  rte_build_config.h

which is quite different to the v.19 build. For example, there is now
no 'include' directory.

I don't want to 'install' because I am experimenting with different
dpdk versions.

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?

Best regards
David


More information about the users mailing list