stratum
stratum copied to clipboard
Update P4c dependency and remove #undefine logging.h workaround
Has been fixed upstream.
TODO
- [x] switch back to upstream repos once fixes has been merged
no issues from my side
Some tests are failing and I pinned it down to this upstream change: https://github.com/p4lang/p4c/pull/2108
Seems like p4c changed some transforms:
if (table.apply().hit) {
...
}
into:
bool hit_tmp = table.apply().hit;
if (hit_tmp) {
...
}
This no longer happens, as they are now preserved as is. Our custom TableHitStatement is no longer needed and we could try to remove it from the code base.