Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use bazel to compile sai_p4 program #10

Open
daniele-moro opened this issue Feb 22, 2021 · 0 comments
Open

Use bazel to compile sai_p4 program #10

daniele-moro opened this issue Feb 22, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@daniele-moro
Copy link
Contributor

The pipeliner for sai_p4 requires:

  • the P4Info file
  • the bmv2 JSON configuration file (this is probably not needed, but it's required for now)

Currently, we use a Docker container (opennetworking/p4c:stable-20210108) to build the P4 program via some make targets.
We should use bazel as in the pins-infra repo to build the program to have consistent builds and P4Info files.

@daniele-moro daniele-moro added the enhancement New feature or request label Feb 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant