@@ -29,9 +29,6 @@ OPENROAD_BINARY_SRCS_WITHOUT_MAIN = [
2929 #finale
3030 ":finale_swig" ,
3131 ":finale_tcl" ,
32- #TritionMP
33- ":tritonmp_swig" ,
34- ":tritonmp_tcl" ,
3532 #antenna_checker
3633 ":ant_swig" ,
3734 ":ant_tcl" ,
@@ -62,9 +59,9 @@ OPENROAD_BINARY_SRCS_WITHOUT_MAIN = [
6259 #PDNGen
6360 ":pdngen_tcl" ,
6461 ":pdngen_swig" ,
65- #MPL2
66- ":mpl2_swig " ,
67- ":mpl2_tcl " ,
62+ #MPL
63+ ":mpl_swig " ,
64+ ":mpl_tcl " ,
6865 #RMP
6966 ":rmp_swig" ,
7067 ":rmp_tcl" ,
@@ -105,6 +102,15 @@ OPENROAD_COPTS = [
105102 "-Wno-unused-parameter" ,
106103]
107104
105+ OPENROAD_DEFINES = [
106+ "OPENROAD_GIT_DESCRIBE=\\ \" bazel_rules_hdl\\ \" " ,
107+ "BUILD_TYPE=\\ \" release\\ \" " ,
108+ "GPU=false" ,
109+ "BUILD_PYTHON=false" ,
110+ "ABC_NAMESPACE=abc" ,
111+ "TCLRL_VERSION_STR=" ,
112+ ]
113+
108114OPENROAD_BINARY_DEPS = [
109115 ":logger" ,
110116 ":opendb_lib" ,
@@ -123,6 +129,8 @@ OPENROAD_LIBRARY_HDRS_INCLUDE = [
123129 "src/ifp/include/ifp/*.hh" ,
124130 #GUI
125131 "src/gui/include/gui/*.h" ,
132+ #STA
133+ "src/sta/include/sta/*.hh" ,
126134 #DbSTA
127135 "src/dbSta/include/db_sta/*.hh" ,
128136 #ioPlacer
@@ -137,6 +145,7 @@ OPENROAD_LIBRARY_HDRS_INCLUDE = [
137145 "src/mpl/include/mpl/*.h" ,
138146 #antenna_checker
139147 "src/ant/include/ant/*.hh" ,
148+ "src/ant/src/*.hh" ,
140149 #FastRoute
141150 "src/grt/src/fastroute/include/*.h" ,
142151 "src/grt/include/grt/*.h" ,
@@ -150,6 +159,7 @@ OPENROAD_LIBRARY_HDRS_INCLUDE = [
150159 "src/rcx/include/rcx/*.h" ,
151160 #TritonRoute
152161 "src/drt/include/triton_route/*.h" ,
162+ "src/drt/src/db/infra/*.hpp" ,
153163 #PDNSim
154164 "src/psm/include/psm/*.h" ,
155165 "src/psm/include/psm/*.hh" ,
@@ -160,9 +170,10 @@ OPENROAD_LIBRARY_HDRS_INCLUDE = [
160170 "src/pdn/include/pdn/*.hh" ,
161171 #STT
162172 "src/stt/include/stt/*.h" ,
163- #MPL2
164- "src/mpl2 /include/mpl2 /*.h" ,
173+ #MPL
174+ "src/mpl /include/mpl /*.h" ,
165175 #RMP
176+ "src/rmp/src/*.h" ,
166177 "src/rmp/include/rmp/*.h" ,
167178 #Distributed
168179 "src/dst/include/dst/*.h" ,
@@ -174,13 +185,18 @@ OPENROAD_LIBRARY_HDRS_INCLUDE = [
174185 "src/dft/include/dft/*.hh" ,
175186 #upf
176187 "src/upf/include/upf/*.h" ,
188+ "src/upf/src/*.h" ,
177189]
178190
179191OPENROAD_LIBRARY_INCLUDES = [
180192 #Root OpenRoad
181193 "include" ,
194+ #OpenDB
195+ "src/odb/include/odb" ,
182196 #OpenDBTCL
183197 "src/odb/src/swig/common" ,
198+ #STA
199+ "src/sta/include/sta" ,
184200 #DbSTA
185201 "src/dbSta/include" ,
186202 "src/dbSta/include/db_sta" ,
@@ -242,9 +258,9 @@ OPENROAD_LIBRARY_INCLUDES = [
242258 #PDNGen
243259 "src/pdn/include" ,
244260 "src/pdn/include/pdn" ,
245- #MPL2
246- "src/mpl2 /include" ,
247- "src/mpl2 /src" ,
261+ #MPL
262+ "src/mpl /include" ,
263+ "src/mpl /src" ,
248264 #RMP
249265 "src/rmp/include" ,
250266 #STT
@@ -308,6 +324,9 @@ OPENROAD_LIBRARY_DEPS = [
308324
309325OPENROAD_LIBRARY_SRCS_EXCLUDE = [
310326 "src/Main.cc" ,
327+ "src/Main_bindings.cc" ,
328+ "src/OpenRoad.cc" ,
329+ "src/rcx/src/extmeasure_res_v2.cpp" ,
311330 "src/rsz/src/Unused.cc" ,
312331 "src/drt/src/main.cpp" ,
313332 "src/utl/src/Logger.cpp" ,
@@ -316,6 +335,7 @@ OPENROAD_LIBRARY_SRCS_EXCLUDE = [
316335 "src/par/src/MLPart/mlpart/ABKCommon/abkrand_templ.cxx" ,
317336 "src/par/src/MLPart/mlpart/Partitioners/aGreedMoveMan.cxx" ,
318337 "src/par/src/MLPart/mlpart/Combi/grayPermut.cxx" ,
338+ "src/utl/src/ScopedTemporaryFile.cpp" ,
319339]
320340
321341OPENROAD_LIBRARY_SRCS_INCLUDE = [
@@ -392,9 +412,9 @@ OPENROAD_LIBRARY_SRCS_INCLUDE = [
392412 "src/stt/src/pdr/src/*.h" ,
393413 "src/stt/src/pdr/src/*.cpp" ,
394414 "src/stt/src/flt/*.cpp" ,
395- #MPL2
396- "src/mpl2 /src/*.cpp" ,
397- "src/mpl2 /src/*.h" ,
415+ #mpl
416+ "src/mpl /src/*.cpp" ,
417+ "src/mpl /src/*.h" ,
398418 #RMP
399419 "src/rmp/src/*.cpp" ,
400420 #Distributed
@@ -409,6 +429,8 @@ OPENROAD_LIBRARY_SRCS_INCLUDE = [
409429 "src/pad/src/*.h" ,
410430 #upf
411431 "src/upf/src/*.cpp" ,
432+ #utl
433+ "src/utl/*.h" ,
412434 #dft
413435 "src/dft/src/**/*.cpp" ,
414436 "src/dft/src/**/*.hh" ,
0 commit comments