[bazel] Miscellaneous Bazel / Repo improvements - #21
Merged
Merged
Conversation
Add a few more common protections and better document the reasons behind existing ignores - especially for signature files, which must be checked in as part of the release flow. Signed-off-by: Alex Jones <alex.jones@lowrisc.org>
AlexJones0
force-pushed
the
misc_improvements
branch
from
September 10, 2026 15:09
5baa6c6 to
9f7d6c7
Compare
Inline with upstream OpenTitan `earlgrey_1.0.0`: https://github.com/lowRISC/opentitan/blob/cf69fc928ad37534bcd59cb15442a82e341e57a2/.bazelversion Signed-off-by: Alex Jones <alex.jones@lowrisc.org>
A couple of helpful options to slightly improve the Bazel experience. Signed-off-by: Alex Jones <alex.jones@lowrisc.org>
Add the default information for the test database that is checked in; this is not intended to be used for real signing flows or for other SoftHSM flows (which should override these variables), but is primarily for ease-of-use with the existing testing database (which may be replaced or reworked in the future). Signed-off-by: Alex Jones <alex.jones@lowrisc.org>
This target is not needed, since this repository is instead using REUSE to check licenses (in CI and locally). Since this is deprecated, we can remove it as it is just legacy inherited from OpenTitan. Likewise, we no longer need the whole `lowrisc_misc_linters` Bazel dependency either, so drop that now as well. Signed-off-by: Alex Jones <alex.jones@lowrisc.org>
AlexJones0
force-pushed
the
misc_improvements
branch
from
September 10, 2026 15:12
9f7d6c7 to
55fa0af
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Make many small improvements to the Bazel setup and the repository: add a more comprehensive
.gitignoreand a basic.bazelrcsetup, bump the Bazel version to be inline with OpenTitanearlgrey_1.0.0, make the license check less permissive by default, and add the testing session auth info to the sourceme script to make basic testing flows easier (whilst the design is still being iterated on).See the individual commit messages for more details.