This repo has tooling and metadata for building OS-specific binary packages for the P4 ecosystem: PI, BMv2, and p4c.
Currently the targets are a few Debian-based distributions, with plans to support more.
Packages are availale on the Open Build Service, which builds the binaries and hosts the apt repositories.
Each p4lang-*/ directory holds one package's debian/ files. The upstream
source is fetched at packaging time, at the version named by the package's
changelog.
Everything is driven by just; just --list shows
recipes for cutting changelog entries, generating and uploading the source
packages, and building them locally in an OBS-faithful VM — with a cached
offline fast path — to develop and inspect a package without waiting on OBS.
The development environment comes from the Nix flake (nix develop).