-
Notifications
You must be signed in to change notification settings - Fork 3
Description
'distbin' is the term used by Bryan at the September TST meeting, which I understand (perhaps incorrectly) to be one or more precompiled binaries, an install script, and any other files needed so that someone can download a single file, and within one or a few commands have an executable installation of p4c, simple_switch_grpc (the binary executable name of the BMv2 / behavioral-model software switch), and anything else required to run those programs on a system, without having to build from source.
As an example of a Bash script that clones several p4lang repositories and builds them from source code, and installs things in /usr/local/{bin,lib} and perhaps a few other places on a system, see these:
- https://github.com/p4lang/tutorials/blob/master/vm-ubuntu-24.04/install.sh
- https://github.com/p4lang/tutorials/blob/master/vm-ubuntu-24.04/install-p4dev-v8.sh
That has been tested with the latest versions of source for 4 p4lang repositories as of Sep 1, 2025, and builds everything without errors the last time I tried on that date, on an Ubuntu 24.04 Linux system. Most or all of it might work on Ubuntu 22.04 as well, and there might be vestiges of old Fedora Linux support in it, but any Fedora parts haven't been tested in a couple of years, and probably stale.