[P4Testgen] Improve library support for P4Testgen and the P4Tools framework. #4294
Open
1 of 4 tasks
Labels
enhancement
This topic discusses an improvement to existing compiler code.
p4tools
Topics related to the P4Tools back end
It should be possible to link P4Testgen or P4Tools in general as a library. Currently, we can only call it as a binary. For that to be possible several things need to happen first.
common
. ProgramInfo will become a first-class construct of the framework.Target
andAbstractP4cToolOptions
. No construct in the framework should be a static global singleton. Instead they will be members of ProgramInfo ([P4Testgen] Reduce the use of static objects in P4Testgen #4286).The text was updated successfully, but these errors were encountered: