Skip to content

Commit a324299

Browse files
committed
test/orfs: README.md oneliner to update all rules.json files
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 4f86372 commit a324299

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/orfs/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ A set of ORFS integration tests that runs in a few minutes suitable for inclusio
99
1. Run `bazelisk run //test/orfs/gcd:gcd_update` to update RULES_JSON file for a design. This will build and run OpenROAD to generate a new RULES_JSON file and update the RULES_JSON source file.
1010
2. Create commit for RULES_JSON file
1111

12+
## Updating all RULES_JSON files
13+
14+
Oneliner that runs tests, which builds all prerequisites in parallel, then update all the rules:
15+
16+
bazelisk test test/orfs/... && bazelisk query test/orfs/... | grep _update\$ | xargs -n1 bazelisk run
17+
1218
## Updating ORFS and bazel-orfs
1319

1420
`bazelisk run @bazel-orfs//:bump`, will find the latest bazel-orfs and ORFS docker image and update MODULE.bazel and MODULE.bazel.lock.

0 commit comments

Comments
 (0)