Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude/commands/openroad-issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ Whittling tips:

Critical whittle.py notes:
- `openroad` must be on PATH (whittle uses it internally to read ODB counts).
Use `ln -sf $(pwd)/bazel-bin/openroad ~/.local/bin/`
Use `PATH="$(pwd)/bazel-bin:$PATH"` — never install to `~/.local/bin/`.
- Use absolute paths for `--base_db_path` and in `--step` (whittle changes cwd)
- Don't pipe whittle output through `tail` — use `tee` with `pipefail`
- Use `--use_stdout` when errors go to stdout (not just stderr)
Expand Down
8 changes: 5 additions & 3 deletions .claude/commands/untar-and-run-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,12 @@ Binary at `bazel-bin/openroad`. Record the hash for the report:
bin/git-read upstream/OpenROAD-flow-scripts/tools/OpenROAD rev-parse HEAD
```

Put it on PATH (or use the full path in the verify step):
**Never install openroad to ~/.local/bin/ or anywhere on the default PATH.**
That leaves cruft behind from previous runs. Instead, use `PATH=` to
prepend the bazel-bin directory for each invocation:

```bash
ln -sf $(realpath upstream/OpenROAD-flow-scripts/tools/OpenROAD/bazel-bin/openroad) ~/.local/bin/openroad
OPENROAD_BIN=$(realpath upstream/OpenROAD-flow-scripts/tools/OpenROAD/bazel-bin)
```

### 7. Verify the archive reproduces the bug
Expand All @@ -189,7 +191,7 @@ cp tmp/<project>/<module>_<stage>_deps/<stage>_<tag>.tar.gz tmp/verify-<tag>/
cd tmp/verify-<tag>
tar xf <stage>_<tag>.tar.gz
cd <stage>_<tag>
time echo exit | ./run-me-*.sh 2>&1 | tail -50
time echo exit | PATH="$OPENROAD_BIN:$PATH" ./run-me-*.sh 2>&1 | tail -50
```

Run this in the background — it may take minutes.
Expand Down
Loading