Skip to content

Latest commit

 

History

History

example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Bazel example bazel build

This folder contains a toy Bazel project depending on P4C. This is to demonstrate how to:

  • set up a Bazel workspace that depends on P4C,

  • use the p4_library rule to invoke P4C during the Bazel build process, and

  • define custom IR extensions.

You can use this project as a template to get you started.

The project is built during CI to ensure it is always up to date.