lowRISC / lowRISC/opentitan

[bazel] cleanup labels in macros to expose some externally

Open
#13,020 0 comments 0 reactions 0 assignees View on GitHub
Priority:P3 SW:Build System Type:Cleanup
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

Some bazel macros, e.g., `opentitan_functest`, are designed to be used in external repositories, e.g. the test_hooks repository. To use these, the rules this macro (and other similar macros) instantiate must reference labels using the `@//` repository prefix. We should take a pass through this repo to determine which of these rules we want to expose externally.

CC: @cfrantz

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the Bazel macros, including opentitan_functest, and how they are used by the external test_hooks repository. Trace the labels referenced by these macros and determine which instantiated rules should be externally usable. Done means the intended externally exposed rules consistently use the @// repository prefix.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.