Skip to content

Commit be80cac

Browse files
committed
Merge remote-tracking branch 'origin/master' into 3dblox-lib
2 parents 4a67b3e + 3e6b7ea commit be80cac

File tree

345 files changed

+74901
-948
lines changed

Some content is hidden

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

345 files changed

+74901
-948
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
uses: The-OpenROAD-Project/clang-tidy-review@master
1818
id: review
1919
with:
20+
clang_tidy_version: 15
2021
build_dir: "./build"
2122
cmake_command: cmake . -B build
2223
config_file: ".clang-tidy"

BUILD.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ config_setting(
4949

5050
OPENROAD_LIBRARY_DEPS = [
5151
":openroad_version",
52-
":ord",
5352
"//src/ant",
5453
"//src/ant:ui",
5554
"//src/cgt",
@@ -106,6 +105,7 @@ OPENROAD_LIBRARY_DEPS = [
106105
"//src/utl",
107106
"//src/utl:ui",
108107
"@edu_berkeley_abc//:abc-lib",
108+
":ord",
109109
] + select(
110110
{
111111
":platform_cli": ["//src/gui"],
@@ -187,11 +187,11 @@ cc_library(
187187
"include",
188188
],
189189
visibility = ["//visibility:public"],
190-
deps = OPENROAD_LIBRARY_DEPS + [
190+
deps = [
191191
"//src/sta:opensta_lib",
192192
"@boost.stacktrace",
193193
"@tk_tcl//:tcl",
194-
],
194+
] + OPENROAD_LIBRARY_DEPS,
195195
)
196196

197197
cc_library(

src/cts/src/TritonCTS.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include <cassert>
88
#include <cctype>
99
#include <cmath>
10+
#include <cstdio>
1011
#include <cstring>
1112
#include <ctime>
1213
#include <fstream>

src/cts/test/BUILD

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,16 @@ MANUAL_TESTS = [
5353
"cts_readme_msgs_check",
5454
]
5555

56+
# TODO: Enable once difference between bazel and ctest is resolved.
57+
MANUAL_FOR_BAZEL_TESTS = [
58+
"array",
59+
"array_ins_delay",
60+
"array_no_blockages",
61+
"array_repair_clock_nets",
62+
"gated_clock4",
63+
"simple_test_hier",
64+
]
65+
5666
ALL_TESTS = COMPULSORY_TESTS + MANUAL_TESTS
5767

5868
filegroup(
@@ -175,7 +185,8 @@ filegroup(
175185
regression_test(
176186
name = test_name,
177187
data = [":" + test_name + "_resources"],
178-
tags = [] if test_name in COMPULSORY_TESTS else ["manual"],
188+
tags = ["manual"] if test_name in MANUAL_TESTS or
189+
test_name in MANUAL_FOR_BAZEL_TESTS else [],
179190
visibility = ["//visibility:public"],
180191
)
181192
for test_name in ALL_TESTS

src/cts/test/CMakeLists.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
# Copyright 2023 Google LLC
2-
#
3-
# Use of this source code is governed by a BSD-style
4-
# license that can be found in the LICENSE file or at
5-
# https://developers.google.com/open-source/licenses/bsd
1+
# SPDX-License-Identifier: BSD-3-Clause
2+
# Copyright (c) 2023-2025, The OpenROAD Authors
63

74
or_integration_tests(
85
"cts"

src/cts/test/cts_aux.py

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,6 @@
1-
###############################################################################
2-
##
3-
## BSD 3-Clause License
4-
##
5-
## Copyright (c) 2022, The Regents of the University of California
6-
## All rights reserved.
7-
##
8-
## Redistribution and use in source and binary forms, with or without
9-
## modification, are permitted provided that the following conditions are met:
10-
##
11-
## * Redistributions of source code must retain the above copyright notice, this
12-
## list of conditions and the following disclaimer.
13-
##
14-
## * Redistributions in binary form must reproduce the above copyright notice,
15-
## this list of conditions and the following disclaimer in the documentation
16-
## and#or other materials provided with the distribution.
17-
##
18-
## * Neither the name of the copyright holder nor the names of its
19-
## contributors may be used to endorse or promote products derived from
20-
## this software without specific prior written permission.
21-
##
22-
## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23-
## AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24-
## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25-
## ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
26-
## LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27-
## CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28-
## SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29-
## INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30-
## CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31-
## ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32-
## POSSIBILITY OF SUCH DAMAGE.
33-
##
34-
###############################################################################
1+
# SPDX-License-Identifier: BSD-3-Clause
2+
# Copyright (c) 2022-2025, The OpenROAD Authors
3+
354
from openroad import Design, Tech
365

376

src/cts/test/cts_unittest.cc

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// Copyright 2023 Google LLC
2-
//
3-
// Use of this source code is governed by a BSD-style
4-
// license that can be found in the LICENSE file or at
5-
// https://developers.google.com/open-source/licenses/bsd
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
// Copyright (c) 2023-2025, The OpenROAD Authors
63

74
#include <utility>
85
#include <vector>

src/cut/test/cpp/TestAbc.cc

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// Copyright 2023 Google LLC
2-
//
3-
// Use of this source code is governed by a BSD-style
4-
// license that can be found in the LICENSE file or at
5-
// https://developers.google.com/open-source/licenses/bsd
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
// Copyright (c) 2023-2025, The OpenROAD Authors
63

74
#include <unistd.h>
85

src/dbSta/BUILD

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,9 @@ cc_library(
143143

144144
tcl_encode(
145145
name = "tcl",
146-
srcs = [
146+
srcs = ["//src/sta:tcl_scripts"] + [
147147
"src/dbReadVerilog.tcl",
148148
"src/dbSta.tcl",
149-
"//src/sta:tcl_scripts",
150149
],
151150
char_array_name = "dbSta_tcl_inits",
152151
namespace = "sta",

src/dbSta/test/cpp/TestHconn.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// Copyright 2023 Google LLC
2-
//
3-
// Use of this source code is governed by a BSD-style
4-
// license that can be found in the LICENSE file or at
5-
// https://developers.google.com/open-source/licenses/bsd
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
// Copyright (c) 2023-2025, The OpenROAD Authors
63

74
#include <unistd.h>
85

0 commit comments

Comments
 (0)