@@ -31,53 +31,14 @@ 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
6438 image = "docker.io/openroad/orfs:v3.0-2888-g38f93c61" ,
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" ,
8243 sha256 = "173581fc6ca74ece349150866ddce96534c5e9d855a25ca8ae509a45fcaefc0d" ,
8344)
0 commit comments