Skip to content

Instantly share code, notes, and snippets.

@wolfv
Created May 8, 2026 21:59
Show Gist options
  • Select an option

  • Save wolfv/ab6ddf33cdd4a46d02ee373e4398fba3 to your computer and use it in GitHub Desktop.

Select an option

Save wolfv/ab6ddf33cdd4a46d02ee373e4398fba3 to your computer and use it in GitHub Desktop.
DPDK Pixi toml
[workspace]
channels = [
"https://prefix.dev/pixi-experimental-backends",
"https://prefix.dev/conda-forge",
]
# DPDK is Linux-only (it relies on Linux-specific kernel interfaces like uio/vfio)
platforms = ["linux-64", "linux-aarch64"]
preview = ["pixi-build"]
[package]
name = "dpdk"
version = "24.11.1"
description = "Data Plane Development Kit — fast packet processing libraries and drivers"
license = "BSD-3-Clause"
[package.build.source]
url = "https://fast.dpdk.org/rel/dpdk-24.11.1.tar.xz"
[package.build.backend]
name = "pixi-build-meson"
version = ">=0.1.0"
[package.build.config]
compilers = ["c"]
# A few of DPDK's most useful meson options — tweak to taste.
# platform=generic portable build (don't tune for the build host's CPU)
# cpu_instruction_set baseline ISA; "generic" pairs with platform=generic
# enable_kmods=false skip out-of-tree kernel modules (igb_uio etc.)
# tests=false skip building the unit-test binaries
# developer_mode=disabled silence -Werror and other dev-only checks
# disable_libs=flow_classify trim a rarely-used library as an example
# disable_drivers=... comma-separated glob of drivers to skip
extra-args = [
"-Dplatform=generic",
"-Dcpu_instruction_set=generic",
"-Denable_kmods=false",
"-Dtests=false",
"-Ddeveloper_mode=disabled",
"-Ddisable_libs=flow_classify",
"-Ddisable_drivers=net/mlx4,net/mlx5,raw/ifpga",
]
[package.build-dependencies]
pyelftools = "*"
cmake = "*"
[package.host-dependencies]
libnuma = "*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment