Skip to content

Commit

Permalink
ci: Reduce optional libraries in DPDK.
Browse files Browse the repository at this point in the history
Since DPDK v23.11, it is possible to select more easily which optional
library is enabled.

OVS only needs the vhost library.
Other optional library can be disabled (though some dependencies must be
kept enabled).

Signed-off-by: David Marchand <[email protected]>
  • Loading branch information
david-marchand committed Nov 21, 2023
1 parent f636136 commit a7959cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .ci/dpdk-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ function build_dpdk()
DPDK_OPTS="$DPDK_OPTS -Denable_apps=test-pmd"
enable_drivers="net/null,net/af_xdp,net/tap,net/virtio"
DPDK_OPTS="$DPDK_OPTS -Denable_drivers=$enable_drivers"
# The only optional library OVS depends on is the vhost library (and its
# dependencies).
DPDK_OPTS="$DPDK_OPTS -Denable_libs=cryptodev,dmadev,vhost"

# Install DPDK using prefix.
DPDK_OPTS="$DPDK_OPTS --prefix=$DPDK_INSTALL_DIR"
Expand Down

0 comments on commit a7959cb

Please sign in to comment.