Skip to content

Commit 4ece3d6

Browse files
committed
Merge remote-tracking branch 'private/master' into gpl_remove_filler_removal_cap
2 parents b03a62d + 6dbed3d commit 4ece3d6

75 files changed

Lines changed: 2068 additions & 2179 deletions

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: 1 addition & 0 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/

MODULE.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ bazel_dep(name = "boost.smart_ptr", version = BOOST_VERSION)
7979
bazel_dep(name = "boost.spirit", version = BOOST_VERSION)
8080
bazel_dep(name = "boost.stacktrace", version = BOOST_VERSION)
8181
bazel_dep(name = "boost.system", version = BOOST_VERSION)
82-
bazel_dep(name = "boost.test", version = BOOST_VERSION + ".bcr.1")
8382
bazel_dep(name = "boost.thread", version = BOOST_VERSION + ".bcr.2")
8483
bazel_dep(name = "boost.tokenizer", version = BOOST_VERSION)
8584
bazel_dep(name = "boost.unordered", version = BOOST_VERSION)

MODULE.bazel.lock

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bazel/openmp/bundled.BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ cc_library(
8686
"runtime/src/ompt-general.cpp",
8787
"runtime/src/ompt-internal.h",
8888
"runtime/src/ompt-specific.h",
89-
"runtime/src/test-touch.c",
9089
"runtime/src/z_Linux_asm.S",
9190
"runtime/src/z_Linux_util.cpp",
9291
] + [

default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
stdenv,
3939
overrideSDK,
4040
git,
41+
yaml-cpp,
4142
}: let
4243
or-tools' =
4344
(or-tools.override {
@@ -111,6 +112,7 @@
111112
cbc
112113
re2
113114
gtest
115+
yaml-cpp
114116
];
115117

116118
nativeBuildInputs = [

etc/DependencyInstaller.sh

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,31 @@ _installCommonDev() {
109109
fi
110110
if [ ${bisonInstalledVersion} != ${bisonVersion} ]; then
111111
cd "${baseDir}"
112-
eval wget https://ftp.gnu.org/gnu/bison/bison-${bisonVersion}.tar.gz
112+
113+
mirrors=(
114+
"https://ftp.gnu.org/gnu/bison"
115+
"https://ftpmirror.gnu.org/bison"
116+
"https://mirrors.kernel.org/gnu/bison"
117+
"https://mirrors.dotsrc.org/gnu/bison"
118+
)
119+
120+
success=0
121+
for mirror in "${mirrors[@]}"; do
122+
url="${mirror}/bison-${bisonVersion}.tar.gz"
123+
echo "Trying to download bison from: $url"
124+
if wget "$url"; then
125+
success=1
126+
break
127+
else
128+
echo "Failed to download from $mirror"
129+
fi
130+
done
131+
132+
if [ $success -ne 1 ]; then
133+
echo "Error: could not download bison-${bisonVersion}.tar.gz from any mirror."
134+
exit 1
135+
fi
136+
113137
md5sum -c <(echo "${bisonChecksum} bison-${bisonVersion}.tar.gz") || exit 1
114138
tar xf bison-${bisonVersion}.tar.gz
115139
cd bison-${bisonVersion}

src/cts/test/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ cc_test(
185185
name = "cts_unittest",
186186
srcs = ["cts_unittest.cc"],
187187
features = ["-layering_check"], # TODO: accesses private headers
188-
linkstatic = True, # TODO: remove once deps define all symbols
189188
deps = [
190189
"//src/cts",
191190
"//src/utl",

src/cut/src/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,11 @@ target_sources(cut
2727
target_link_libraries(cut
2828
PUBLIC
2929
rsz_lib
30-
libabc
30+
${ABC_LIBRARY}
3131
PRIVATE
3232
odb
3333
dbSta
3434
OpenSTA
3535
dbSta_lib
3636
utl_lib
37-
${ABC_LIBRARY}
3837
)

src/cut/test/BUILD

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,27 @@ package(features = ["layering_check"])
88
cc_test(
99
name = "cut_abc_test",
1010
srcs = ["cpp/TestAbc.cc"],
11-
linkstatic = True, # TODO: remove once deps define all symbols
11+
data = [
12+
"Nangate45/Nangate45_stdcell.lef",
13+
"Nangate45/Nangate45_tech.lef",
14+
"Nangate45/Nangate45_typ.lib",
15+
"aes_nangate45.v",
16+
"asap7/asap7_tech_1x_201209.lef",
17+
"asap7/asap7sc7p5t_28_R_1x_220121a.lef",
18+
"asap7/asap7sc7p5t_AO_RVT_FF_nldm_211120.lib.gz",
19+
"asap7/asap7sc7p5t_INVBUF_RVT_FF_nldm_220122.lib.gz",
20+
"asap7/asap7sc7p5t_OA_RVT_FF_nldm_211120.lib.gz",
21+
"asap7/asap7sc7p5t_SEQ_RVT_FF_nldm_220123.lib",
22+
"asap7/asap7sc7p5t_SIMPLE_RVT_FF_nldm_211120.lib.gz",
23+
"empty_cut_set.v",
24+
"side_outputs_extract.v",
25+
"side_outputs_extract_logic_depth.v",
26+
"simple_and_gate_extract.v",
27+
"sky130/sky130_fd_sc_hd__ss_n40C_1v40.lib",
28+
"sky130/sky130hd.tlef",
29+
"sky130/sky130hd_std_cell.lef",
30+
"sky130_const_cell.v",
31+
],
1232
deps = [
1333
"//src/cut",
1434
"//src/dbSta",

src/cut/test/cpp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ target_link_libraries(CutGTests
88
GTest::gmock
99
dbSta_lib
1010
utl_lib
11-
libabc
11+
${ABC_LIBRARY}
1212
cut
1313
tst
1414
${TCL_LIBRARY}

0 commit comments

Comments
 (0)