You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user/Bazel.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -339,3 +339,23 @@ Now start the bisection as usual with a bad and good commit from the above list:
339
339
Use `git bisect --skip` if the version does not build or otherwise should not be tested.
340
340
341
341
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
+
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
+
353
+
This will:
354
+
355
+
- fetch and checkout pull request 7856
356
+
- build OpenROAD
357
+
- run bazel-orfs flow on gcd
358
+
- create a /tmp/gcd folder with the ORFS project
359
+
- launch the GUI opening gui_final gcd
360
+
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