Skip to content

Commit e2a7e8f

Browse files
committed
bazel: document final 12-bucket model with Ruby testers
Add explicit note about gpu_ruby_test folded into ruby bucket, and Ruby tester directory list in bucket table section.
1 parent 183e7c1 commit e2a7e8f

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

bazel/docs/build-architecture.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,17 @@ axes so disabled ISAs/features are never compiled or linked.
8484
| `kvm` | `CONF_USE_KVM` | `//configs:kvm_enabled` |
8585
| `test_objects` | `CONF_USE_TEST_OBJECTS` | `//configs:test_objects_enabled` |
8686

87+
The original plan included a `ruby_gpu` bucket, but in the final
88+
implementation `gpu_ruby_test` SimObjects are folded into the `ruby`
89+
bucket because their defining `.py` files are under `src/cpu/testers/`
90+
directories that map to `ruby` via path-based derivation. Their Bazel
91+
inventory remains gated on `ruby_gpu_enabled` so they're only compiled
92+
when both Ruby and GPU are enabled.
93+
94+
The `ruby` bucket also includes Ruby-specific tester directories:
95+
`src/cpu/testers/directedtest`, `src/cpu/testers/garnet_synthetic_traffic`,
96+
`src/cpu/testers/rubytest`, and `src/cpu/testers/gpu_ruby_test`.
97+
8798
### Enum ownership rule
8899

89100
Each enum is assigned to the same bucket as the SimObject `.py` file

0 commit comments

Comments
 (0)