Skip to content

Commit 154eda4

Browse files
oharboeclaude
andcommitted
docs: add commented-out OpenROAD-from-source instructions to MODULE.bazel
Add template showing how to build OpenROAD from source instead of using the Docker image. Useful for testing pre-release OpenROAD. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 09834e2 commit 154eda4

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

MODULE.bazel

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,27 @@ orfs.default(
5353
)
5454
use_repo(orfs, "docker_orfs")
5555

56+
# Uncomment to build OpenROAD from source instead of using the ORFS image.
57+
# This is useful to test the latest OpenROAD before the ORFS image is updated.
58+
# See: https://github.com/The-OpenROAD-Project/bazel-orfs/blob/main/docs/openroad.md
59+
#
60+
# bazel_dep(name = "openroad")
61+
# git_override(
62+
# module_name = "openroad",
63+
# commit = "df79404cd806cc435b3c3b53678ebf2441c31313",
64+
# init_submodules = True,
65+
# patch_strip = 1,
66+
# patches = ["@bazel-orfs//:openroad-llvm-root-only.patch", "@bazel-orfs//:openroad-visibility.patch"],
67+
# remote = "https://github.com/The-OpenROAD-Project/OpenROAD.git",
68+
# )
69+
# bazel_dep(name = "qt-bazel")
70+
# git_override(
71+
# module_name = "qt-bazel",
72+
# commit = "df022f4ebaa4130713692fffd2f519d49e9d0b97",
73+
# remote = "https://github.com/The-OpenROAD-Project/qt_bazel_prebuilts",
74+
# )
75+
# bazel_dep(name = "toolchains_llvm", version = "1.5.0")
76+
5677
# Auto-generate orfs_flow() targets from config.mk files.
5778
# See bazel-orfs.md for usage.
5879
orfs_designs = use_repo_rule("@bazel-orfs//private:designs.bzl", "orfs_designs")

bazel-orfs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ To limit parallelism:
233233
bazelisk test --jobs=4 ...
234234
```
235235

236-
A full test suite run (46 designs, 6 platforms) takes roughly 3-4 hours
236+
A full test suite run (53 designs, 6 platforms) takes roughly 4-5 hours
237237
on a 48-core machine with default parallelism (overcommitted). Individual
238238
design times vary from ~1 minute (gcd) to ~63 minutes (cva6 on asap7).
239239

0 commit comments

Comments
 (0)