@@ -11,7 +11,7 @@ bazel_dep(name = "bazel-orfs")
1111# To bump version, run: bazelisk run @bazel-orfs//:bump
1212git_override (
1313 module_name = "bazel-orfs" ,
14- commit = "4a67015d0165e14466b89cc7ce1e92688f393093 " ,
14+ commit = "9a3778bdbe63106a894a03e865335a31ebc860d1 " ,
1515 remote = "https://github.com/The-OpenROAD-Project/bazel-orfs.git" ,
1616)
1717
@@ -31,55 +31,16 @@ pip.parse(
3131)
3232use_repo (pip , "orfs-pip" )
3333
34- # HACK! While we're waiting for OpenROAD to switch to bzlmod
35- new_local_repository = use_repo_rule ("@bazel_tools//tools/build_defs/repo:local.bzl" , "new_local_repository" )
36-
37- new_local_repository (
38- name = "openroad" ,
39- build_file_content = """
40- exports_files(["openroad"],
41- visibility = ["//visibility:public"],
42- )
43- filegroup(
44- name = "all",
45- data = glob(["openroad.runfiles/**/*"]),
46- visibility = ["//visibility:public"],
47- )
48- """ ,
49- path = "tools/OpenROAD/bazel-out/k8-opt/bin" ,
50- )
51-
5234orfs = use_extension ("@bazel-orfs//:extension.bzl" , "orfs_repositories" )
5335
5436# To bump version, run: bazelisk run @bazel-orfs//:bump
5537orfs .default (
56- # Check out the version you want to test and make any modifications locally:
57- #
58- # ./build_openroad.sh --no_init
59- #
60- # Comment out "sha256" below, not available for local docker images
61- # and update "image" to point to the local image.
62-
63- # Official image https://hub.docker.com/r/openroad/orfs/tags
64- image = "docker.io/openroad/orfs:v3.0-2888-g38f93c61" ,
38+ image = "docker.io/openroad/orfs:v3.0-3190-g5ac9869c" ,
6539 # Use local files instead of docker image
6640 makefile = "//flow:makefile" ,
6741 makefile_yosys = "//flow:makefile_yosys" ,
68- # TODO once openroad is switched to MODULE.bazel, use
69- # local_path_override(module_name = "openroad", path = "../tools/OpenROAD")
70- # to point to the local openroad Bazel module instead of
71- # getting the openroad binary from the docker image, supports GUI.
72- #
73- # openroad = "@docker_orfs//:openroad",
74-
75- # Use locally built OpenROAD while we're waiting for OpenROAD
76- # to bzlmod, no GUI for now.
77- #
78- # cd ../tools/OpenROAD
79- # bazelisk build -c opt :openroad
80- openroad = "//flow/test:openroad" ,
8142 pdk = "//flow:asap7" ,
82- sha256 = "173581fc6ca74ece349150866ddce96534c5e9d855a25ca8ae509a45fcaefc0d " ,
43+ sha256 = "2ca999699bc91144074b7f23f42da9330d7279437c386a1413fba4a6a7520916 " ,
8344)
8445use_repo (orfs , "com_github_nixos_patchelf_download" )
8546use_repo (orfs , "docker_orfs" )
0 commit comments