@@ -7,10 +7,10 @@ module(
77)
88
99bazel_dep (name = "bazel-orfs" )
10-
11- local_path_override (
10+ git_override (
1211 module_name = "bazel-orfs" ,
13- path = "../bazel-orfs" ,
12+ commit = "2dbd8f0fa9c1f1cc4bf5d52f680b9116fb204219" ,
13+ remote = "https://github.com/The-OpenROAD-Project/bazel-orfs.git" ,
1414)
1515
1616bazel_dep (name = "rules_python" , version = "1.2.0" )
@@ -35,16 +35,38 @@ orfs = use_extension("@bazel-orfs//:extension.bzl", "orfs_repositories")
3535# Use docker image for yosys/klayout, local files for scripts and PDKs
3636orfs .default (
3737 image = "docker.io/openroad/orfs:26Q1-755-g7a3f3d5eb" ,
38- sha256 = "933f0179ba7feca829768ab2daebe6c1b8b458bf656ef4becc251887725ac7be" ,
3938 makefile = "//flow:makefile" ,
4039 makefile_yosys = "//flow:makefile_yosys" ,
4140 pdk = "//flow:asap7" ,
41+ sha256 = "933f0179ba7feca829768ab2daebe6c1b8b458bf656ef4becc251887725ac7be" ,
4242 variables_yaml = "//flow:scripts/variables.yaml" ,
4343)
4444use_repo (orfs , "docker_orfs" )
4545
46+ # Uncomment to build OpenROAD from source instead of using the ORFS image.
47+ # This is useful to test the latest OpenROAD before the ORFS image is updated.
48+ # See: https://github.com/The-OpenROAD-Project/bazel-orfs/blob/main/docs/openroad.md
49+ #
50+ # bazel_dep(name = "openroad")
51+ # git_override(
52+ # module_name = "openroad",
53+ # commit = "02507977b328194de770f321d89e3dae9d954a6d",
54+ # init_submodules = True,
55+ # patch_strip = 1,
56+ # patches = ["@bazel-orfs//:openroad-llvm-root-only.patch", "@bazel-orfs//:openroad-visibility.patch"],
57+ # remote = "https://github.com/The-OpenROAD-Project/OpenROAD.git",
58+ # )
59+ # bazel_dep(name = "qt-bazel")
60+ # git_override(
61+ # module_name = "qt-bazel",
62+ # commit = "df022f4ebaa4130713692fffd2f519d49e9d0b97",
63+ # remote = "https://github.com/The-OpenROAD-Project/qt_bazel_prebuilts",
64+ # )
65+ # bazel_dep(name = "toolchains_llvm", version = "1.5.0")
66+
4667# Auto-generate orfs_flow() targets from config.mk files
4768orfs_designs = use_repo_rule ("//bazel:designs.bzl" , "orfs_designs" )
69+
4870orfs_designs (
4971 name = "orfs_designs" ,
5072 designs_dir = "//flow/designs:BUILD.bazel" ,
@@ -57,4 +79,3 @@ orfs_designs(
5779 "sky130hs" ,
5880 ],
5981)
60-
0 commit comments