-
Notifications
You must be signed in to change notification settings - Fork 4
/
MODULE.bazel
40 lines (36 loc) · 1.4 KB
/
MODULE.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
module(
name = "megaboom",
version = "0.0.1",
compatibility_level = 1,
)
# To test with local bazel-orfs, read: https://github.com/The-OpenROAD-Project/bazel-orfs?tab=readme-ov-file#usage
#
# 1. comment git_override() below
# 2. uncomment local_path_override below
#
#local_path_override(
# module_name = "bazel-orfs", path = "../bazel-orfs"
#)
bazel_dep(name = "bazel-orfs")
git_override(
module_name = "bazel-orfs",
commit = "c9524ebf6bcc48f72eb2b7d50f694f599b6390be",
remote = "https://github.com/The-OpenROAD-Project/bazel-orfs.git",
)
# TL;DR to test with a locally built ORFS docker image, update below after building
# locally and run `bazel mod tidy`:
#
# $ ./build_openroad.sh
# [lots of output deleted]
# 23 naming to docker.io/openroad/flow-ubuntu22.04-builder:7582cf done
# $ docker buildx imagetools inspect openroad/flow-ubuntu22.04-builder --format "{{json .Manifest.Digest}}"
# "sha256:5d4d20d3d5638fa5c79b05c6f9b240c7e5691bf8b6c47c9a46d9bb0e0d53bb09"
# $ bazel mod tidy
# ORFS is provided as a transitive dependency from bazel-orfs, but
# it is possible to specify a version in here if something newer than
# latest bazel-orfs tested ORFS is needed.
# orfs = use_extension("@bazel-orfs//:extension.bzl", "orfs_repositories")
# orfs.default(
# image = "docker.io/openroad/orfs:v3.0-1889-g1954eb4f",
# sha256 = "58779e678e3d4e3ada33344c050b476be52f2adac1ff9ae037df69dd028199a5",
# )