Skip to content

[bazel] Prepare for downstream sku configuration#30146

Merged
cfrantz merged 3 commits into
lowRISC:earlgrey_1.0.0from
cfrantz:sku-extra
Jun 25, 2026
Merged

[bazel] Prepare for downstream sku configuration#30146
cfrantz merged 3 commits into
lowRISC:earlgrey_1.0.0from
cfrantz:sku-extra

Conversation

@cfrantz

@cfrantz cfrantz commented May 18, 2026

Copy link
Copy Markdown
Contributor
  1. Allow hooks repos to have additional dependencies.
    Parse an extra json file with http_archive or local_repository args. Instantiate those repos and symlink
  2. Allow offline_signature_attach to accept DefaultInfo.
  3. Update the visibility of the provisioning manifest.

Comment thread sw/device/silicon_creator/manuf/base/BUILD Outdated
@cfrantz cfrantz force-pushed the sku-extra branch 2 times, most recently from 939cf8d to bd1f0d3 Compare June 22, 2026 20:28
Comment thread MODULE.bazel.lock Outdated
"presign_perso": {
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
"attributes": {
"url": "https://github.com/pamaury/ot-sku/releases/download/TEST_RELEASE_2/presign_perso.tar.xz",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this url expected?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good catch, it's weird that the build system did not catch this because it looks like the lock file is not clean?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I re-generated the MODULE.bazel.lock which eliminated these downstream repos.

cfrantz and others added 3 commits June 24, 2026 11:52
Allow `offline_signature_attach` to accept files provided by
`DefaultInfo`.  This allows the rule to accept `srcs` that are provided
by a filegroup in addition to files provied by `presigning_artifacts`.

Signed-off-by: Chris Frantz <cfrantz@google.com>
Make the perso mannifest publicly visible so downstream build rules can
refer to it.

Signed-off-by: Chris Frantz <cfrantz@google.com>
Signed-off-by: Amaury Pouly <amaury.pouly@opentitan.org>
@cfrantz

cfrantz commented Jun 24, 2026

Copy link
Copy Markdown
Contributor Author

I believe I have our downstream repo updated to support this change.

@cfrantz cfrantz merged commit 951ea3d into lowRISC:earlgrey_1.0.0 Jun 25, 2026
66 of 68 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants