Skip to content

Commit fdea93e

Browse files
committed
Merge branch 'master' into mpl-use-best-result
Signed-off-by: Arthur Koucher <arthurkoucher@precisioninno.com>
2 parents 97c8c01 + 3fff6da commit fdea93e

483 files changed

Lines changed: 1704639 additions & 1256385 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: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,20 @@ build --copt "-Wall" --host_copt "-Wall"
2424
build --copt "-Wextra" --host_copt "-Wextra"
2525

2626
# ... and disable the warnings we're not interested in.
27-
build --copt "-Wno-sign-compare" --host_copt "-Wno-sign-compare"
28-
build --copt "-Wno-unused-parameter" --host_copt "-Wno-unused-parameter"
27+
build --copt "-Wno-sign-compare" --host_copt "-Wno-sign-compare"
28+
build --copt "-Wno-unused-parameter" --host_copt "-Wno-unused-parameter"
29+
build --copt "-Wno-c++20-designator" --host_copt "-Wno-c++20-designator"
30+
build --copt "-Wno-gcc-compat" --host_copt "-Wno-gcc-compat"
31+
build --copt "-Wno-nullability-extension" --host_copt "-Wno-nullability-extension"
32+
33+
# The warning acceptance bar in CI for PRs is set by -Werror of a specific
34+
# version of some chosen compiler. Disable warnings from other compilers until
35+
# they are fixed and under CI -Werror acceptance critera as there is nothing the
36+
# developers can(they can't be reproduced locally or in CI) or should do about
37+
# these warnings in code they are not working on.
38+
build --copt "-Wno-unused-private-field" --host_copt "-Wno-unused-private-field"
39+
build --copt "-Wno-cast-function-type-mismatch" --host_copt "-Wno-cast-function-type-mismatch"
40+
build --copt "-Wno-unused-but-set-variable" --host_copt "-Wno-unused-but-set-variable"
2941

3042
# For 3rd party code: Disable warnings entirely.
3143
# They are not actionable and just create noise.

.github/workflows/black.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
lint:
13-
runs-on: ubuntu-latest
13+
runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }}
1414
steps:
1515
- name: Checkout Code
1616
uses: actions/checkout@v4
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Check that OK files are up to date
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
diffs:
8+
runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }}
9+
steps:
10+
- name: Check out repository code
11+
uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
14+
- name: Check ok files
15+
run: |
16+
set +e
17+
grep --include="*.ok" -Rn "Differences found "
18+
if [[ "$?" == "0" ]]; then
19+
exit 1
20+
fi

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
format:
13-
runs-on: ubuntu-latest
13+
runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }}
1414
steps:
1515
- name: setup
1616
run: |

.github/workflows/github-actions-bazel-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
Build:
13-
runs-on: ubuntu-latest
13+
runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }}
1414
steps:
1515
- name: Checkout code
1616
uses: actions/checkout@v4

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
build:
12-
runs-on: ubuntu-latest
12+
runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }}
1313
steps:
1414
# Downloads the artifact uploaded by the lint action
1515
- name: 'Download artifact'

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build:
10-
runs-on: ubuntu-latest
10+
runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }}
1111
steps:
1212
- name: Checkout repository
1313
uses: actions/checkout@v4
@@ -20,7 +20,7 @@ jobs:
2020
build_dir: './build'
2121
cmake_command: cmake . -B build
2222
config_file: '.clang-tidy'
23-
exclude: "*/codeGenerator/templates/*"
23+
exclude: "*/codeGenerator/templates/*,*/third-party/*"
2424
split_workflow: true
2525
apt_packages: libomp-15-dev,libfl-dev
2626
- uses: The-OpenROAD-Project/clang-tidy-review/upload@master
@@ -33,4 +33,6 @@ jobs:
3333
echo "Ownership change attempt finished."
3434
shell: bash
3535
- if: steps.review.outputs.total_comments > 0
36-
run: exit 1
36+
run: |
37+
echo "Pendinding review comments. Please resolve all comments before merging."
38+
exit 1

.github/workflows/github-actions-cron-sync-fork-from-upstream-PII.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
jobs:
1717
Sync-Branch-From-Upstream:
1818
name: Automatic sync 'master' from The-OpenROAD-Project/OpenROAD
19-
runs-on: ubuntu-latest
19+
runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }}
2020

2121
# Only allow one action to run at a time.
2222
concurrency: sync-branch-from-upstream

.github/workflows/github-actions-cron-sync-fork-from-upstream.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
jobs:
1717
Sync-Branch-From-Upstream:
1818
name: Automatic sync 'master' from The-OpenROAD-Project/OpenROAD
19-
runs-on: ubuntu-latest
19+
runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }}
2020

2121
# Only allow one action to run at a time.
2222
concurrency: sync-branch-from-upstream

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
format:
13-
runs-on: ubuntu-latest
13+
runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }}
1414
steps:
1515
- name: Check out repository code
1616
uses: actions/checkout@v4

0 commit comments

Comments
 (0)