Skip to content

Commit 2c145e1

Browse files
committed
fix conflicts and update OR
Signed-off-by: Jonas Gava <jfgava@precisioninno.com>
2 parents 578fb3a + e670c24 commit 2c145e1

9 files changed

Lines changed: 33 additions & 73 deletions

File tree

.bazelrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# yosys 0.64 is not yet in BCR; add the unmerged PR's fork as a fallback
2+
# registry until bazelbuild/bazel-central-registry#8862 lands. BCR is
3+
# listed first so all other modules resolve from the official source;
4+
# the fork is only consulted for modules/versions BCR doesn't carry yet.
5+
# The commit hash makes the fork reference immutable. Mirrors what
6+
# bazel-orfs/.bazelrc does upstream — ORFS root has its own .bazelrc so
7+
# the upstream lines don't propagate automatically.
8+
common --registry=https://bcr.bazel.build/
9+
common --registry=https://raw.githubusercontent.com/oharboe/bazel-central-registry/0586b398db6edd245da97cbec29e26c5e2a808d7/
10+
111
build --incompatible_strict_action_env
212
build --cxxopt "-std=c++20" --host_cxxopt "-std=c++20"
313

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Build working directories
2+
tools/OpenROAD/build/
3+
tools/yosys-slang/build/
4+
tools/kepler-formal/build/
25

36
# Build files
47
build_openroad.log

MODULE.bazel

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,14 @@ git_override(
3636
bazel_dep(name = "bazel-orfs", dev_dependency = True)
3737
bazel_dep(name = "bazel-orfs-verilog", dev_dependency = True)
3838

39-
BAZEL_ORFS_COMMIT = "3a5ddd7eb48c363717e65903ae4573d528327fd3"
39+
BAZEL_ORFS_COMMIT = "6ebadeb4be5c9ada103081c9a5e668c014126616"
4040

4141
BAZEL_ORFS_REMOTE = "https://github.com/The-OpenROAD-Project/bazel-orfs.git"
4242

4343
# To bump version, run: bazelisk run @bazel-orfs//:bump
44-
#
45-
# `patches =` keeps small bazel-orfs fixes vendored in this repo while
46-
# we iterate, instead of round-tripping every change through a
47-
# bazel-orfs PR + pin bump. When a patch lands upstream, drop the
48-
# entry here and bump BAZEL_ORFS_COMMIT.
4944
git_override(
5045
module_name = "bazel-orfs",
5146
commit = BAZEL_ORFS_COMMIT,
52-
patch_strip = 1,
53-
patches = [
54-
"//patches/bazel-orfs:0001-render_gds-monkey-patch-PDK_CONFIGS-not-gdsii_use_custom_config.patch",
55-
],
5647
remote = BAZEL_ORFS_REMOTE,
5748
)
5849

docker/Dockerfile.builder

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,19 @@ if [ -n "${verificPath}" ]; then
4545
fi
4646
EOF
4747

48+
# Collect LICENSE files from tool source trees into the install directory so
49+
# they are available in the final image. tools/OpenROAD/src/sta is excluded
50+
# because it is covered by a separate commercial license agreement.
51+
RUN find /OpenROAD-flow-scripts/tools \( -name "*LICENSE*" -o -name "*LICENSES*" \) \
52+
| grep -v '/OpenROAD/src/sta/' \
53+
| grep -v '/AutoTuner/' \
54+
| grep -v '^/OpenROAD-flow-scripts/tools/install/' \
55+
| while IFS= read -r f; do \
56+
rel="${f#/OpenROAD-flow-scripts/tools/}"; \
57+
mkdir -p "/OpenROAD-flow-scripts/tools/install/licenses/$(dirname "$rel")"; \
58+
cp -r "$f" "/OpenROAD-flow-scripts/tools/install/licenses/$rel"; \
59+
done
60+
4861
FROM orfs-base
4962

5063
# The order for copying the directories is based on the frequency of changes (ascending order),

flow/designs/nangate45/ariane133/rules-base.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"compare": ">="
6363
},
6464
"globalroute__timing__setup__tns": {
65-
"value": -570.0,
65+
"value": -572.0,
6666
"compare": ">="
6767
},
6868
"globalroute__timing__hold__ws": {
@@ -94,7 +94,7 @@
9494
"compare": ">="
9595
},
9696
"finish__timing__setup__tns": {
97-
"value": -577.0,
97+
"value": -606.0,
9898
"compare": ">="
9999
},
100100
"finish__timing__hold__ws": {

flow/designs/sky130hd/microwatt/rules-base.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"compare": ">="
6363
},
6464
"globalroute__timing__setup__tns": {
65-
"value": -322.0,
65+
"value": -345.0,
6666
"compare": ">="
6767
},
6868
"globalroute__timing__hold__ws": {
@@ -94,7 +94,7 @@
9494
"compare": ">="
9595
},
9696
"finish__timing__setup__tns": {
97-
"value": -336.0,
97+
"value": -360.0,
9898
"compare": ">="
9999
},
100100
"finish__timing__hold__ws": {
@@ -109,4 +109,4 @@
109109
"value": 5572106,
110110
"compare": "<="
111111
}
112-
}
112+
}

patches/bazel-orfs/0001-render_gds-monkey-patch-PDK_CONFIGS-not-gdsii_use_custom_config.patch

Lines changed: 0 additions & 49 deletions
This file was deleted.

patches/bazel-orfs/BUILD.bazel

Lines changed: 0 additions & 8 deletions
This file was deleted.

tools/OpenROAD

Submodule OpenROAD updated 146 files

0 commit comments

Comments
 (0)