Add p4c 1.2.5.11#7761
Conversation
|
Hello @matthewtlam, @tsnl, modules you maintain (z3) have been updated in this PR. |
|
Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (p4c) have been updated in this PR. |
d45cf0f to
9e2c1b1
Compare
9e2c1b1 to
f6186a4
Compare
|
Would be grateful for a review |
|
I started CI, looks like you might need a |
matthewtlam
left a comment
There was a problem hiding this comment.
LGTM, thanks @smolkaj
f6186a4 to
a80364a
Compare
Require module maintainers' approval for newly pushed changes.
p4c (https://github.com/p4lang/p4c) is the P4_16 reference compiler. This is the first submission of p4c to the BCR, made possible by the Bzlmod migration in v1.2.5.11 (p4lang/p4c#5454, p4lang/p4c#5497). Signed-off-by: Steffen Smolka <steffen.smolka@gmail.com>
a80364a to
de44d4f
Compare
Thanks @keith, added. |
## Description Adds [p4c](https://github.com/p4lang/p4c) v1.2.5.11 — the P4_16 reference compiler — to the BCR. This is the first p4c submission, made possible by the Bzlmod migration completed in this release ([p4lang/p4c#5454](p4lang/p4c#5454), [p4lang/p4c#5497](p4lang/p4c#5497)). ## Module - **Name:** `p4c` - **Version:** `1.2.5.11` - **Source:** https://github.com/p4lang/p4c/releases/tag/v1.2.5.11 ## Notes - The `inja` dependency is not yet in the BCR and is loaded via a module extension defined in p4c's own `bazel/repositories.bzl`. This is self-contained and requires no BCR changes. - The `p4c_ir_extensions` module extension provides an opt-in mechanism for downstream users to register custom IR extensions; it has no effect unless explicitly used. - Presubmit builds `@p4c//...` on Ubuntu 22.04 and 24.04 against Bazel 7.x, 8.x, and 9.x. ## Checklist - [x] Module added under `modules/p4c/` - [x] `metadata.json` with homepage, maintainers, and repository - [x] `source.json` pointing to the release tarball with verified SHA-256 integrity - [x] `MODULE.bazel` with correct version - [x] `presubmit.yml` covering Ubuntu 22.04/24.04 × Bazel 7/8/9 Signed-off-by: Steffen Smolka <steffen.smolka@gmail.com>
Description
Adds p4c v1.2.5.11 — the P4_16 reference compiler — to the BCR. This is the first p4c submission, made possible by the Bzlmod migration completed in this release (p4lang/p4c#5454, p4lang/p4c#5497).
Module
p4c1.2.5.11Notes
injadependency is not yet in the BCR and is loaded via a module extension defined in p4c's ownbazel/repositories.bzl. This is self-contained and requires no BCR changes.p4c_ir_extensionsmodule extension provides an opt-in mechanism for downstream users to register custom IR extensions; it has no effect unless explicitly used.@p4c//...on Ubuntu 22.04 and 24.04 against Bazel 7.x, 8.x, and 9.x.Checklist
modules/p4c/metadata.jsonwith homepage, maintainers, and repositorysource.jsonpointing to the release tarball with verified SHA-256 integrityMODULE.bazelwith correct versionpresubmit.ymlcovering Ubuntu 22.04/24.04 × Bazel 7/8/9