From a7959cb0976e75ed8e239020085feeaef11b0dc8 Mon Sep 17 00:00:00 2001 From: David Marchand Date: Wed, 23 Aug 2023 10:33:53 +0200 Subject: [PATCH] ci: Reduce optional libraries in DPDK. 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 --- .ci/dpdk-build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.ci/dpdk-build.sh b/.ci/dpdk-build.sh index 8380c48637c..c073323bcc5 100755 --- a/.ci/dpdk-build.sh +++ b/.ci/dpdk-build.sh @@ -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"