build: add missing dependences for centos 8 99/38199/2
authorTianyu Li <[email protected]>
Sat, 28 Jan 2023 07:58:45 +0000 (07:58 +0000)
committerDave Wallace <[email protected]>
Tue, 14 Feb 2023 01:32:02 +0000 (01:32 +0000)
VPP build failed on Centos stream 8 when build xdp-tool
and dpdk mlx driver, Add the missing tools, libraries and headers.

Type: fix
Signed-off-by: Tianyu Li <[email protected]>
Change-Id: Ie705dc8f558ceb872029f9ab4f1351b514c87405

Makefile

index 3514e7d..de07171 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -140,6 +140,7 @@ else ifeq ($(OS_ID)-$(OS_VERSION_ID),centos-8)
        RPM_DEPENDS += python3-virtualenv python3-jsonschema
        RPM_DEPENDS += libarchive cmake
        RPM_DEPENDS += infiniband-diags libibumad
+       RPM_DEPENDS += libpcap-devel llvm-toolset
        RPM_DEPENDS_GROUPS = 'Development Tools'
 else
        RPM_DEPENDS += yum-utils