Skip to content

Commit 7013dcf

Browse files
committed
Merge branch 'master' into mpl-keep-clustering
2 parents 8ff389d + d84ac13 commit 7013dcf

2,274 files changed

Lines changed: 756454 additions & 142021 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: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ common --incompatible_disallow_empty_glob
1414

1515
build --cxxopt "-std=c++17" --host_cxxopt "-std=c++17"
1616
build --cxxopt "-xc++" --host_cxxopt "-xc++"
17+
build --cxxopt "-DBAZEL_BUILD" --host_cxxopt "-DBAZEL_BUILD"
1718

1819
# Needed for floating point stability in FFT (fft_test will check this).
1920
# See also https://kristerw.github.io/2021/11/09/fp-contract/
@@ -78,23 +79,18 @@ build --jobs=200
7879
build --disk_cache=~/.cache/bazel-disk-cache
7980
build --repository_cache=~/.cache/bazel-repository-cache
8081

81-
# --- CI Settings (write access) ---
82-
build:ci --remote_cache=https://storage.googleapis.com/openroad-bazel-cache
83-
build:ci --remote_cache_compression=true
84-
build:ci --remote_upload_local_results=true
8582
# CI only needs to know if the build succeeded, not the artifacts themselves.
8683
build:ci --remote_download_minimal
84+
build:ci --remote_upload_local_results=true
8785
# Disable disk cache for CI builds
8886
build:ci --disk_cache=
8987

90-
# --- OpenROAD Developer Settings (read-only access) ---
91-
build:openroad-dev --remote_cache=https://storage.googleapis.com/openroad-bazel-cache
92-
build:openroad-dev --remote_cache_compression=true
93-
build:openroad-dev --remote_upload_local_results=false
94-
# Developers need the actual output files to run and use them.
95-
build:openroad-dev --remote_download_toplevel
96-
build:openroad-dev --google_default_credentials=true
97-
build:openroad-dev --disk_cache=/workspace/.cache/bazel-disk-cache
98-
build:openroad-dev --repository_cache=/workspace/.cache/bazel-repository-cache
88+
# Setup remote cache
89+
build --remote_cache=https://bazel.precisioninno.com
90+
build --remote_cache_compression=true
91+
build --remote_upload_local_results=false
92+
93+
# Without this, bazelisk build ... builds the bazel-orfs tests
94+
build --build_tag_filters=-orfs
9995

10096
try-import %workspace%/user.bazelrc

.buildifier.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "auto",
3+
"mode": "fix",
4+
"lint": "fix",
5+
"warnings": "all"
6+
}

.clang-format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ BraceWrapping:
2727
BreakBeforeBinaryOperators: All
2828
BreakBeforeBraces: Custom
2929
InsertBraces: true
30+
LineEnding: LF
3031
DerivePointerAlignment: false
3132
SpaceAfterCStyleCast: true
3233
Standard: c++17

.clang-tidy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ CheckOptions:
6565

6666
# All modules but sta
6767
# Exclude build as there is too much noise from swig generated code
68-
HeaderFilterRegex: "(?!build/.*)/(ant|cts|dbSta|dft|dpl|drt|dst|exa|fin|gpl|grt|gui|ifp|mpl|odb|ord|pad|par|pdn|ppl|psm|rcx|rmp|rsz|stt|tap|upf|utl)/.*"
68+
HeaderFilterRegex: "(?!build/.*)/(ant|cgt|cts|cut|dbSta|dft|dpl|drt|dst|est|exa|fin|gpl|grt|gui|ifp|mpl|odb|ord|pad|par|pdn|ppl|psm|rcx|ram|rmp|rsz|stt|tap|upf|utl)/.*"
6969

7070
# Not currently handling identifier naming
7171
# WarningsAsErrors: "*"

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
- package-ecosystem: "gitsubmodule"
8+
directory: "/"
9+
schedule:
10+
interval: "daily"

.github/workflows/black.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }}
1414
steps:
1515
- name: Checkout Code
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v5
1717
- name: Run black
1818
uses: psf/black@stable

.github/workflows/buildifier.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Lint Bazel
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
buildifier:
13+
runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }}
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
check:
18+
- name: Buildifier format
19+
run: ./buildifier -r -mode=check -lint=off .
20+
- name: Buildifier lint
21+
run: ./buildifier -r -lint=warn .
22+
name: ${{ matrix.check.name }}
23+
env:
24+
BUILDIFIER_VERSION: v8.2.1
25+
26+
steps:
27+
- name: Checkout Code
28+
uses: actions/checkout@v5
29+
30+
- name: Cache buildifier
31+
id: cache-buildifier
32+
uses: actions/cache@v4
33+
with:
34+
path: ./buildifier
35+
key: ${{ runner.os }}-buildifier-${{ env.BUILDIFIER_VERSION }}
36+
37+
- name: Download buildifier
38+
if: steps.cache-buildifier.outputs.cache-hit != 'true'
39+
run: |
40+
wget https://github.com/bazelbuild/buildtools/releases/download/${BUILDIFIER_VERSION}/buildifier-linux-amd64 -O buildifier
41+
chmod +x buildifier
42+
43+
- name: ${{ matrix.check.name }}
44+
run: ${{ matrix.check.run }}

.github/workflows/github-actions-are-differences-found.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }}
99
steps:
1010
- name: Check out repository code
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@v5
1212
with:
1313
fetch-depth: 0
1414
- name: Check ok files

.github/workflows/github-actions-are-odb-files-generated.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ jobs:
1313
runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }}
1414
steps:
1515
- name: Check out repository code
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v5
1717
with:
1818
fetch-depth: 0
19+
submodules: 'recursive'
1920
- name: setup
2021
run: |
2122
python3 -m venv venv

.github/workflows/github-actions-clang-tidy-post.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
# Downloads the artifact uploaded by the lint action
1515
- name: 'Download artifact'
16-
uses: actions/github-script@v6
16+
uses: actions/github-script@v8
1717
with:
1818
script: |
1919
const artifacts = await github.rest.actions.listWorkflowRunArtifacts({

0 commit comments

Comments
 (0)