File tree Expand file tree Collapse file tree 2 files changed +14
-13
lines changed
Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 11# SPDX-License-Identifier: BSD-3-Clause
22# Copyright (c) 2025, The OpenROAD Authors
33
4+ load ("//bazel:python_wrap_cc.bzl" , "python_wrap_cc" )
45load ("//bazel:tcl_encode_or.bzl" , "tcl_encode" )
56load ("//bazel:tcl_wrap_cc.bzl" , "tcl_wrap_cc" )
6- load ("//bazel:python_wrap_cc.bzl" , "python_wrap_cc" )
77
88package (
99 default_visibility = ["//:__subpackages__" ],
@@ -16,11 +16,9 @@ cc_library(
1616 "src/Clock.h" ,
1717 "src/Clustering.h" ,
1818 "src/CtsObserver.h" ,
19- "src/CtsOptions.h" ,
2019 "src/HTreeBuilder.h" ,
2120 "src/LevelBalancer.h" ,
2221 "src/SinkClustering.h" ,
23- "src/TechChar.h" ,
2422 "src/TreeBuilder.h" ,
2523 "src/Util.h" ,
2624 ],
@@ -51,7 +49,10 @@ cc_library(
5149 "src/CtsOptions.h" ,
5250 "src/TechChar.h" ,
5351 ],
54- includes = ["include" , "src" ],
52+ includes = [
53+ "include" ,
54+ "src" ,
55+ ],
5556 deps = [
5657 ":private_hdrs" ,
5758 "//src/dbSta" ,
@@ -136,4 +137,4 @@ python_wrap_cc(
136137 swig_includes = [
137138 "include" ,
138139 ],
139- )
140+ )
Original file line number Diff line number Diff line change @@ -43,10 +43,13 @@ cc_library(
4343 "src/lefout/*.cpp" ,
4444 "src/swig/common/swig_common.cpp" ,
4545 ]),
46- hdrs = glob ([
47- "include/odb/*.h" ,
48- "include/odb/*.hpp" ,
49- ]) + ["src/swig/common/swig_common.h" ],
46+ hdrs = glob (
47+ include = [
48+ "include/odb/*.h" ,
49+ "include/odb/*.hpp" ,
50+ ],
51+ exclude = ["include/odb/MakeOdb.h" ],
52+ ) + ["src/swig/common/swig_common.h" ],
5053 features = [
5154 "-use_header_modules" ,
5255 ],
@@ -116,10 +119,7 @@ cc_library(
116119 ":swig" ,
117120 ":tcl" ,
118121 ],
119- hdrs = glob ([
120- "include/odb/*.h" ,
121- "include/odb/*.hpp" ,
122- ]),
122+ hdrs = ["include/odb/MakeOdb.h" ],
123123 copts = [
124124 "-Wno-missing-braces" , # from TCL swigging
125125 "-Isrc/odb/src/swig/common" ,
You can’t perform that action at this time.
0 commit comments