OVS compilation and "normal" unit tests (run in the CI) do not depend on
any DPDK driver being present.
Disable all drivers to save compilation time.

Signed-off-by: David Marchand <[email protected]>
---
 .ci/linux-build.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh
index 509314a079..25642459bf 100755
--- a/.ci/linux-build.sh
+++ b/.ci/linux-build.sh
@@ -160,6 +160,11 @@ function install_dpdk()
     # meson verbose outputs.
     DPDK_OPTS="$DPDK_OPTS -Ddeveloper_mode=disabled"
 
+    # OVS compilation and "normal" unit tests (run in the CI) do not depend on
+    # any DPDK driver being present.
+    # We can disable all drivers to save compilation time.
+    DPDK_OPTS="$DPDK_OPTS -Ddisable_drivers=*/*"
+
     # Install DPDK using prefix.
     DPDK_OPTS="$DPDK_OPTS --prefix=$(pwd)/build"
 
-- 
2.37.2

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to