Struggling with meson in dpdk 21.11
David Aldrich
david.aldrich.ntml at gmail.com
Mon Sep 16 19:42:52 CEST 2024
Hi
I am upgrading from dpdk 19.11 to 21.11. With 19.11 I built dpdk with
usertools/dpdk-setup.sh option 44, which built dpdk for x64 on Linux
and installed it to:
/opt/intel/dpdk-stable-19.11.14/x86_64-native-linux-gcc/
I want to reproduce similar behaviour in 21.11 as I may have several
versions of dpdk installed.
My build procedure is:
$ cd /opt/intel/dpdk-stable-21.11.7
$ sudo meson -Dexamples=all -Dprefix="/"
-Ddisable_drivers=common/mvep,common/mlx5,net/mvneta,net/mvpp2,net/nfb,net/mlx4,net/mlx5,\
crypto/qat,crypto/aesni_gcm,crypto/aesni_mb,crypto/armv8,crypto/ccp,crypto/kasumi,crypto/mvsam,crypto/openssl,\
crypto/snow3g,crypto/zuc,compress/isal,regex/mlx5,vdpa/mlx5,net/pcap,net/szedata2,raw/ifpga,net/af_xdp,net/ipn3ke,\
crypto/ipsec_mb,crypto/ipsec_mb,crypto/mlx5,compress/mlx5,gpu/cuda build
$ cd build
$ sudo ninja
$ sudo meson install --destdir=../x86_64-native-linux-gcc
The result is:
$ ls /opt/intel/dpdk-stable-21.11.7/x86_64-native-linux-gcc/
bin include lib share
which is good, but the examples have not been built and the folders in
the build directory are empty:
$ ls /opt/intel/dpdk-stable-21.11.7/build/examples/l2fwd
$
Why are the examples not built?
Best regards
David
More information about the users
mailing list