Skip to content

Commit cde15b7

Browse files
committed
bazel: test GUI on github request use-case, review feedback
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 3200012 commit cde15b7

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

docs/user/Bazel.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -342,14 +342,20 @@ OpenSTA has an additional challenge in that only the https://github.com/The-Open
342342

343343
## Testing the GUI with gcd on a pull request by number
344344

345+
To test a PR with the GUI on gcd, run:
346+
347+
```
348+
$ git fetch origin pull/7856/head
349+
$ git checkout FETCH_HEAD
350+
$ bazelisk run test/orfs/gcd:gcd_final /tmp/gcd -- gui_final
351+
```
352+
345353
This will:
346354

347355
- fetch and checkout pull request 7856
348356
- build OpenROAD
349357
- run bazel-orfs flow on gcd
350-
- create a /tmp/gcd folder with the ORFS project. `bazelisk run test/orfs/gcd:gcd_final` run alone would create the /tmp/gcd folder and the arguments. The arguments after `--` are forwarded to the /tmp/gcd/make script that invokes make with the gcd ORFS project set up in /tmp/gcd/_main/config.mk.
358+
- create a /tmp/gcd folder with the ORFS project
351359
- launch the GUI opening gui_final gcd
352360

353-
$ git fetch origin pull/7856/head
354-
$ git checkout FETCH_HEAD
355-
$ bazelisk run test/orfs/gcd:gcd_final /tmp/gcd -- gui_final
361+
`bazelisk run test/orfs/gcd:gcd_final` run alone would create the `/tmp/gcd` folder and the arguments. The arguments after `--` are forwarded to the `/tmp/gcd/make` script that invokes make with the gcd ORFS project set up in `/tmp/gcd/_main/config.mk`.

0 commit comments

Comments
 (0)