de18be9...
by
Andy Fingerhut <email address hidden>
Added test case with out-of-bounds index to header stack (#2666)
p4c already gives an error message if a header stack index is a
compile-time known value that is out of range, so there is no bug
here. This is simply a test program that verifies that p4c does give
an error message for P4 programs that do this.
Add more flexibility to compiler configuration. (#2663)
This turns `P4CConfiguration` into an abstract class to allow overriding of compiler configuration parameters. The active configuration can be obtained from `P4CContext`.
243fcfb...
by
Steffen Smolka <email address hidden>
Improve Bazel CI build times through smarter caching (#2656)
* Improve CI build times through smarter caching
GitHub's caching mechanism never overwrites cache entries for existing keys. Since we were using a static key, this caused our cache to never be refreshed.
With this PR, a new cache entry is generated at the end of every CI run; at the beginning of every CI entry, the freshest cache entry is restored.
* Update dependencies to their latest versions so the build with the new Bazel 4.0
* Fix Bazel warning and show off new improved build times.