Skip to content

Commit 0ef98b9

Browse files
committed
bazel: add bazel build hack tip, review feedback
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 7ffad9e commit 0ef98b9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/user/BuildLocally.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ Currently the simplest way to build OpenROAD and run ORFS is to run one test, wh
2121
``` shell
2222
cd tools/OpenROAD
2323
bazelisk test src/drt/...
24-
cd ../flow
24+
cd ../../flow
2525
make OPENROAD_EXE=$(pwd)/../tools/OpenROAD/bazel-out/k8-opt-exec-ST-*/bin/openroad
2626
```
2727

2828
Bazel could similarly be used to download and make available pre-built binaries for tools such as Yosys, eqy and KLayout.
2929

30+
Running some quick tests will cause the desired exec config of OpenROAD to be built. There's no explicit Bazel way to build an exec config of an executable and we want to to use an exec config that is the same binary as is used for a local OpenROAD modify + test Bazel cycle.
31+
3032
## Build
3133

3234
``` shell

0 commit comments

Comments
 (0)