Skip to content

Commit 3200012

Browse files
committed
bazel: test GUI on github request use-case
These instructions are waiting for `:openroad` bazel targets to be OpenROAD built with GUI support and `:openroad-cli` to be OpenROAD built with CLI only support. Signed-off-by: Øyvind Harboe <[email protected]>
1 parent e4f795a commit 3200012

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/user/Bazel.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,3 +339,17 @@ Now start the bisection as usual with a bad and good commit from the above list:
339339
Use `git bisect --skip` if the version does not build or otherwise should not be tested.
340340

341341
OpenSTA has an additional challenge in that only the https://github.com/The-OpenROAD-Project/OpenSTA fork has the Bazel BUILD file. To bisect the https://github.com/parallaxsw/OpenSTA branch, check out the branch you want, then check out BUILD from the fork and do a `git reset HEAD`. This will leave BUILD as a local file, because it is not in the upstream repository and bisection can be done on the upstream master branch.
342+
343+
## Testing the GUI with gcd on a pull request by number
344+
345+
This will:
346+
347+
- fetch and checkout pull request 7856
348+
- build OpenROAD
349+
- 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.
351+
- launch the GUI opening gui_final gcd
352+
353+
$ git fetch origin pull/7856/head
354+
$ git checkout FETCH_HEAD
355+
$ bazelisk run test/orfs/gcd:gcd_final /tmp/gcd -- gui_final

0 commit comments

Comments
 (0)