Skip to content

[BazelBot] Run buildozer from utils/bazel in run_bant - #995

Open
jtstogel wants to merge 1 commit into
llvm:mainfrom
jtstogel:bant-cwd
Open

jtstogel wants to merge 1 commit into
llvm:mainfrom
jtstogel:bant-cwd

Conversation

@jtstogel

Copy link
Copy Markdown
Contributor

bant's suggested buildozer commands get translated into labels like //llvm-project-overlay//llvm:Support. This indicates that this code probably intended to run buildozer from the utils/bazel directory, but currently the cwd is set to the llvm-project repo root.

  $ cd llvm-project
  $ buildozer 'print name' //llvm-project-overlay//llvm:Support
  llvm-project/llvm-project-overlay/llvm/BUILD: file not found or not readable
  $ cd utils/bazel
  $ buildozer 'print name' //llvm-project-overlay//llvm:Support
  Support

Assisted-by: LLM written, human reviewed

bant's suggested buildozer commands use labels like
//llvm-project-overlay//llvm:Support, so buildozer needs to be run from the `utils/bazel` directory instead of the git repo root.

```shel
  $ cd llvm-project
  $ buildozer 'print name' //llvm-project-overlay//llvm:Support
  llvm-project/llvm-project-overlay/llvm/BUILD: file not found or not readable
  $ cd utils/bazel
  $ buildozer 'print name' //llvm-project-overlay//llvm:Support
  Support
```
@jtstogel jtstogel changed the title [BazelBot] Update buildozer cwd in run_bant [BazelBot] Run buildozer from utils/bazel in run_bant Oct 16, 2026
@jtstogel
jtstogel requested a review from pranavk October 16, 2026 23:10
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.

1 participant