Repository navigation
Commit 2b980e9
bazel: keep bazel_dep(bazel-orfs) non-dev for load() visibility
flow/BUILD has load("@bazel-orfs//:openroad.bzl", "orfs_pdk"), which
needs @bazel-orfs visible from @orfs even when ORFS is consumed as a
non-root module. Marking the bazel_dep dev-only suppresses that
visibility, and every non-root consumer (bazel-orfs itself, its
gallery and downstream-test workspaces) has to patch it back in at
consumption time (bazel-orfs patches/0036).
Only the git_override needs to be dev-conditional, and it already is:
overrides are implicitly root-only. At non-root the consumer's own
bazel-orfs module satisfies the dep; when @orfs is the root module,
dev deps are honoured anyway, so 'bazel mod graph' output is
byte-identical before and after this change.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>1 parent 4b3f266 commit 2b980e9
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
37 | 45 | | |
38 | 46 | | |
39 | 47 | | |
| |||
0 commit comments