Skip to content

Commit 15133de

Browse files
committed
Merge remote-tracking branch 'origin/master' into drt_getEdgeCost_refactor
2 parents 2e96fa4 + c88e270 commit 15133de

675 files changed

Lines changed: 1386328 additions & 1268415 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.bazelrc

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,13 @@ common --enable_platform_specific_config
9696
# macOS: boost.stacktrace needs this since backtrace() doesn't require GNU source
9797
build:macos --copt=-DBOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED
9898
build:macos --host_copt=-DBOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED
99-
# Aligned allocation/deallocation for abseil is only available since 10.13
100-
build:macos --macos_minimum_os=10.13
101-
build:macos --host_macos_minimum_os=10.13
99+
# Floating-point std::to_chars (behind std::format, used by OpenSTA)
100+
# needs macOS 13.3; std::filesystem (src/tcl_readline_setup.cc) needs
101+
# 10.15; abseil's aligned allocation needs 10.13. The historical 10.13
102+
# floor was never enforced: toolchains_llvm ignored it and compiled
103+
# against the host SDK's default. hermetic-llvm honors it.
104+
build:macos --macos_minimum_os=13.3
105+
build:macos --host_macos_minimum_os=13.3
102106

103107
# Settings for --config=asan address sanitizer build
104108
build:asan --strip=never
@@ -108,6 +112,11 @@ build:asan --copt=-O1
108112
build:asan --copt=-g
109113
build:asan --copt=-fno-omit-frame-pointer
110114
build:asan --linkopt=-fsanitize=address
115+
# TCMalloc is incompatible with ASan: __asan_init's interceptor setup calls
116+
# dlsym -> malloc before TCMalloc is initialized, segfaulting at startup.
117+
# Override the per-target malloc attribute to use the system allocator, which
118+
# ASan intercepts cleanly.
119+
build:asan --custom_malloc=@bazel_tools//tools/cpp:malloc
111120

112121
# Flags with enough debug symbols to get useful outputs with Linux `perf`
113122
build:profile --strip=never
@@ -118,6 +127,9 @@ build:profile --copt -fno-omit-frame-pointer --host_copt -fno-omit-frame-pointer
118127
# Improve hermeticity by disallowing user envars and network access
119128
build --incompatible_strict_action_env
120129
build --nosandbox_default_allow_network
130+
# Refuse to autodetect a local C++ toolchain (/usr/bin/gcc); the hermetic
131+
# toolchain must win resolution, with or without the etc/bazel-hermetic wrapper.
132+
common --repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
121133

122134
test --build_tests_only
123135

@@ -137,6 +149,11 @@ build:ci --disk_cache=
137149
# Tell the 'ci' config to include 'opt'
138150
build:ci --config=opt
139151

152+
# Launch py_binary via a shell stub instead of rules_python's legacy python
153+
# stub, whose '#!/usr/bin/env python3' shebang needs a host python3 before
154+
# the hermetic interpreter takes over (found by etc/bazel-hermetic).
155+
common --@rules_python//python/config_settings:bootstrap_impl=script
156+
140157
# Setup remote cache
141158
# Anon: HTTPS read-only cache
142159
build --remote_cache=https://bazel.precisioninno.com

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.6.0
1+
9.1.1

.github/workflows/buildifier.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Cache buildifier
3636
id: cache-buildifier
37-
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
37+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
3838
with:
3939
path: ./buildifier
4040
key: ${{ runner.os }}-buildifier-${{ env.BUILDIFIER_VERSION }}

.github/workflows/first-time-contributor.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ jobs:
1414
pull-requests: write
1515
steps:
1616
- name: Greet First-Time Contributor
17-
uses: actions/first-interaction@34f15e814fe48ac9312ccf29db4e74fa767cbab7 # v1.3.0
17+
uses: actions/first-interaction@1c4688942c71f71d4f5502a26ea67c331730fa4d # v3.1.0
1818
with:
19-
repo-token: ${{ secrets.GITHUB_TOKEN }}
20-
issue-message: |
19+
repo_token: ${{ secrets.GITHUB_TOKEN }}
20+
issue_message: |
2121
Welcome to OpenROAD! Thanks for opening your first issue.
2222
To get started:
2323
- Build Instructions: https://openroad.readthedocs.io/en/latest/contrib/BuildWithCMake.html
2424
- Contribution Guide: https://openroad.readthedocs.io/en/latest/contrib/contributing.html
2525
2626
Please search existing issues before submitting to avoid duplicates.
2727
A maintainer will get back to you soon!
28-
pr-message: |
28+
pr_message: |
2929
Welcome to OpenROAD! Thanks for opening your first PR.
3030
Before we review:
3131
- Contribution Guide: https://openroad.readthedocs.io/en/latest/contrib/contributing.html

.github/workflows/github-actions-check-bazel-lock.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,16 @@ jobs:
1212
- name: Check out repository code
1313
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1414

15-
- name: Verify lock file is up to date
16-
run: bazelisk mod deps --lockfile_mode=error
15+
- name: Update lock file to check for differences
16+
run: |
17+
cp MODULE.bazel MODULE.bazel.before
18+
bazelisk mod deps --lockfile_mode=update
19+
20+
- name: Differences to be adressed
21+
run: |
22+
if ! diff MODULE.bazel.before MODULE.bazel ; then
23+
echo "Run"
24+
echo "bazelisk mod deps --lockfile_mode=update"
25+
echo "and update pull request"
26+
exit 1
27+
fi

.github/workflows/github-actions-on-master-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
3030
- name: Cache buildifier
3131
id: cache-buildifier
32-
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
32+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
3333
with:
3434
path: ./buildifier
3535
key: ${{ runner.os }}-buildifier-${{ env.BUILDIFIER_VERSION }}

.github/workflows/github-actions-update-grammar-railroad-diagrams.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2121

2222
- name: Set up Java
23-
uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
23+
uses: actions/setup-java@0f481fcb613427c0f801b606911222b5b6f3083a # v5.5.0
2424
with:
2525
distribution: temurin
2626
java-version: "21"
2727

2828
- name: Cache railroad diagram tools
29-
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
29+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
3030
id: cache-tools
3131
with:
3232
path: src/odb/doc/tools
@@ -82,7 +82,7 @@ jobs:
8282
8383
- name: Open PR if diagrams changed
8484
if: steps.diagram-changes.outputs.changed == 'true'
85-
uses: peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676 # v7.0.11
85+
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
8686
with:
8787
commit-message: "odb: regenerate LEF/DEF railroad diagram SVGs"
8888
branch: auto/grammar-railroad-diagrams

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
url = ../../The-OpenROAD-Project/abc.git
77
[submodule "third-party/slang-elab"]
88
path = third-party/slang-elab
9-
url = https://github.com/povik/yosys-slang
9+
url = ../../povik/yosys-slang.git

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# source control.
77

88
Andrew Kennings
9+
Antmicro
910
Federal University of Rio Grande do Sul (UFRGS)
1011
Google LLC
1112
Iowa State University

BUILD.bazel

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -584,10 +584,14 @@ sh_test(
584584
sh_binary(
585585
name = "tidy_tcl",
586586
srcs = ["//bazel:tcl_tidy.sh"],
587-
args = ["$(rootpath //bazel:tclfmt)"],
587+
args = [
588+
"$(rootpath //bazel:tclfmt)",
589+
"$(rootpath @git)",
590+
],
588591
data = [
589592
"tclint.toml",
590593
"//bazel:tclfmt",
594+
"@git",
591595
],
592596
)
593597

@@ -633,9 +637,13 @@ sh_test(
633637
sh_binary(
634638
name = "tidy_bzl",
635639
srcs = ["//bazel:bzl_tidy.sh"],
636-
args = ["$(rootpath @buildifier_prebuilt//:buildifier)"],
640+
args = [
641+
"$(rootpath @buildifier_prebuilt//:buildifier)",
642+
"$(rootpath @git)",
643+
],
637644
data = [
638645
"@buildifier_prebuilt//:buildifier",
646+
"@git",
639647
],
640648
)
641649

@@ -666,6 +674,7 @@ sh_binary(
666674
"$(rootpath @buildifier_prebuilt//:buildifier)",
667675
"$(rootpath //bazel:bzl_lint_test.sh)",
668676
"$(rootpath @buildifier_prebuilt//:buildifier)",
677+
"$(rootpath @git)",
669678
],
670679
data = [
671680
"MODULE.bazel",
@@ -677,5 +686,6 @@ sh_binary(
677686
"//bazel:tclfmt",
678687
"//bazel:tclint",
679688
"@buildifier_prebuilt//:buildifier",
689+
"@git",
680690
],
681691
)

0 commit comments

Comments
 (0)