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

p4c-dpdk --version output is less informative than other p4c back ends #3095

Closed
jafingerhut opened this issue Feb 24, 2022 · 0 comments · Fixed by #3105
Closed

p4c-dpdk --version output is less informative than other p4c back ends #3095

jafingerhut opened this issue Feb 24, 2022 · 0 comments · Fixed by #3105
Labels
enhancement This topic discusses an improvement to existing compiler code.

Comments

@jafingerhut
Copy link
Contributor

jafingerhut commented Feb 24, 2022

I just happened to notice this today when checking versions of binaries installed for different back ends:

andy@andy-vm:~$ p4c-bm2-psa --version
p4c-bm2-psa
Version 0.0.1 (SHA: a9aa5ff)
andy@andy-vm:~$ p4c-bm2-ss --version
p4c-bm2-ss
Version 1.2.2 (SHA: a9aa5ff BUILD: RELEASE)
andy@andy-vm:~$ p4c-ebpf --version
p4c-ebpf
Version 1.2.2 (SHA: a9aa5ff BUILD: RELEASE)
andy@andy-vm:~$ p4c-graphs --version
p4c-graphs
Version 1.2.2 (SHA: a9aa5ff BUILD: RELEASE)
andy@andy-vm:~$ p4test --version
p4test
Version 1.2.2 (SHA: a9aa5ff BUILD: RELEASE)
andy@andy-vm:~$ p4c-dpdk --version
p4c-dpdk
Version 0.1

In particular, the SHA is very useful for P4 developers when they are diagnosing bugs that might be fixed recently.

@mihaibudiu mihaibudiu added the enhancement This topic discusses an improvement to existing compiler code. label Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This topic discusses an improvement to existing compiler code.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants