@@ -10,10 +10,18 @@ bazel_dep(name = "bazel-orfs")
1010# To bump version, run: bazelisk run @bazel-orfs//:bump
1111git_override (
1212 module_name = "bazel-orfs" ,
13- commit = "f8a4b694b37c8f5322323eba9a9ae37f9541ee17 " ,
13+ commit = "d998bbff78c455718bd1a0191b4aa89ef9addac1 " ,
1414 remote = "https://github.com/The-OpenROAD-Project/bazel-orfs.git" ,
1515)
1616
17+ # Transitive dep of bazel-orfs (lives in its verilog/ subdirectory).
18+ bazel_dep (name = "bazel-orfs-verilog" )
19+ archive_override (
20+ module_name = "bazel-orfs-verilog" ,
21+ strip_prefix = "bazel-orfs-e46fca0214def95ecfbada54a8028da7d47fd122/verilog" ,
22+ urls = ["https://github.com/The-OpenROAD-Project/bazel-orfs/archive/e46fca0214def95ecfbada54a8028da7d47fd122.tar.gz" ],
23+ )
24+
1725bazel_dep (name = "rules_python" , version = "1.8.5" )
1826bazel_dep (name = "rules_shell" , version = "0.6.1" )
1927
@@ -35,12 +43,50 @@ orfs = use_extension("@bazel-orfs//:extension.bzl", "orfs_repositories")
3543
3644# To bump version, run: bazelisk run @bazel-orfs//:bump
3745orfs .default (
38- image = "docker.io/openroad/orfs:v3.0-3273-gedf3d6bf " ,
46+ image = "docker.io/openroad/orfs:26Q1-816-gf40d2f346 " ,
3947 # Use local files instead of docker image
4048 makefile = "//flow:makefile" ,
4149 makefile_yosys = "//flow:makefile_yosys" ,
4250 pdk = "//flow:asap7" ,
43- sha256 = "f5692c6325ebcf27cc348e033355ec95c82c35ace1af7e72a0d352624ada143e" ,
51+ sha256 = "2b05a14ae8062b4af82b245d648e95fa0293e09b61b57468518b66578744afb8" ,
52+ variables_yaml = "//flow:scripts/variables.yaml" ,
4453)
45- use_repo (orfs , "com_github_nixos_patchelf_download" )
4654use_repo (orfs , "docker_orfs" )
55+
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+
77+ # Auto-generate orfs_flow() targets from config.mk files.
78+ # See bazel-orfs.md for usage.
79+ orfs_designs = use_repo_rule ("@bazel-orfs//private:designs.bzl" , "orfs_designs" )
80+
81+ orfs_designs (
82+ name = "orfs_designs" ,
83+ designs_dir = "//flow/designs:BUILD.bazel" ,
84+ platforms = [
85+ "asap7" ,
86+ "gf180" ,
87+ "ihp-sg13g2" ,
88+ "nangate45" ,
89+ "sky130hd" ,
90+ "sky130hs" ,
91+ ],
92+ )
0 commit comments