p4lang-p4c-nightly:hanw/issue-2668

Last commit made on 2021-02-03
Get this branch:
git clone -b hanw/issue-2668 https://git.launchpad.net/p4lang-p4c-nightly

Branch merges

Branch information

Name:
hanw/issue-2668
Repository:
lp:p4lang-p4c-nightly

Recent commits

ece861d... by Han Wang <email address hidden>

DPDK: add support for h.setValid and h.setInvalid

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.

eab654a... by Jed Liu <email address hidden>

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`.

Co-authored-by: Jed Liu <email address hidden>

935bd4e... by Mihai Budiu <email address hidden>

Allow casts between int and bool (#2658)

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.

58f1ac0... by Han Wang <email address hidden>

Revert "Add -o option to p4test backend (#2634)" (#2651)

This reverts commit ecba24ad591e719268860f66202530830d2a914e.

1e27945... by Steve King <email address hidden>

Fixed warnings about deprecated default copy. (#2649)

Signed-off-by: Steve King <email address hidden>

41b6968... by Michal Kekely <email address hidden>

P4C-3458: Fixed non-PHV Klocwork "critical" & "error" issues fro 9.4 (#2646)

* Unitialized variable added to constructor

ecba24a... by Hemant Singh <email address hidden>

Add -o option to p4test backend (#2634)

Move -o option to toplevel options.

772630a... by Han Wang <email address hidden>

minor bugfix: check for nullptr (#2639)