$ git clone https://github.com/p4lang/PI.git
$ cd PI && git submodule update --init --recursive
$ sudo apt install libjudy-dev libreadline-dev
# CI test dependencies
$ sudo apt install libtool-bin valgrind
./autogen.sh
./configure [--with-proto] [--with-bmv2]
make
make check
sudo make install
$ git clone https://github.com/p4lang/PI.git
$ cd PI && git submodule update --init --recursive
$ sudo apt install libjudy-dev libreadline-dev
# CI test dependencies
$ sudo apt install libtool-bin valgrind
./autogen.sh
./configure [--with-proto] [--with-bmv2]
make
make check
sudo make install
Reference