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

[build] Switch BMv2 p4 compiler from p4c to p4c-bm2-ss. #494

Merged
merged 1 commit into from
Dec 24, 2023

Conversation

r12f
Copy link
Collaborator

@r12f r12f commented Dec 23, 2023

p4c-bm2-ss is a dedicated compiler built for building bmv2 code. Unlike p4c-ss and p4c-bm, this compiler is using the latest code, directly built from the p4c backend.

Switching to this compiler will not change the generated content, but it will give us more access on more command line options instead of being limited to the small set of the parameters provided by p4c, e.g. dumping IRs, which may give us more information for generating SAI in a more smarter way.

Similarly, we are already doing it for DPDK - using p4c-dpdk instead of p4c -b dpdk.

@r12f r12f requested a review from chrispsommers December 23, 2023 04:46
@r12f r12f merged commit e1309e9 into sonic-net:main Dec 24, 2023
11 checks passed
@r12f r12f deleted the user/r12f/p4c branch December 24, 2023 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants