Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

Packet Batch's old common files.

License

NotificationsYou must be signed in to change notification settings

Packet-Batch/old-common

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packet Batch Common Build Workflow

Description

This is a repository forPacket Batch that includes common files for all versions (Standard,AF_XDP, andThe DPDK). This includes source files to parse JSON config files, command line parsing, and other useful functions.

Dependencies

  • JSON-C - Used for parsing config files using the JSON syntax.

Building And Installing

While I suggest building and installing the application using the independent versions (standard, AF_XDP, or the DPDK), you may build and install this repository separately if you want as well. You may usegit andmake. When cloning the repository, you will want to use the--recursive flag to clone the needed submodule(s) as well (in this case,json-c). Otherwise, you will need to executegit submodule update --init.

The following should work.

# Clone the Packet Batch Common repository.git clone --recursive https://github.com/Packet-Batch/PB-Common.git# Install build essentials/tools and needed libaries for JSON-C.sudo apt install -y cmake build-essential clang autoconf libtool pkgconf# Change current working directory to PB-Common/.cd PB-Common/# Execute ./build.sh file to build and install dependencies and main project which requires sudo privileges.# WARNING - If you don't have sudo available on your system, please look at the ./build.sh file and execute make commands as root in order.# NOTE - You may also look at the .github/workflows/build.yml.# NOTE - The first argument represents the amount of threads to use with make. 0 uses the amount of available threads on the system and supplying no argument uses 1 thread../build.sh 0# (Not Required) If you want to clean our build, use the following. It must be ran as root or with sudo because we're also cleaning our LibYAML sub-module.sudo make clean

Credits


[8]ページ先頭

©2009-2025 Movatter.jp