Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 12 additions & 19 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -141,27 +141,20 @@ exports_files([
"etc/TclEncode.tcl",
])

exported_tcl = [
"tcl/Util.tcl",
"tcl/CmdUtil.tcl",
"tcl/CmdArgs.tcl",
"tcl/Property.tcl",
"tcl/Splash.tcl",
"tcl/Sta.tcl",
"sdc/Variables.tcl",
"sdc/Sdc.tcl",
"sdf/Sdf.tcl",
"search/Search.tcl",
"dcalc/DelayCalc.tcl",
"graph/Graph.tcl",
"liberty/Liberty.tcl",
"network/Network.tcl",
"network/NetworkEdit.tcl",
"parasitics/Parasitics.tcl",
"power/Power.tcl",
"spice/WriteSpice.tcl",
# Files used only by the standalone OpenSTA shell. OpenROAD supplies its own
# equivalents (Init via ord, Link/Verilog via dbSta), so they are excluded from
# the set re-exported to dbSta.
sta_only_tcl = [
"tcl/Init.tcl",
"network/Link.tcl",
"verilog/Verilog.tcl",
]

# Re-exported to dbSta (and thus the OpenROAD binary). Derived from tcl_srcs so
# a new command file added there automatically flows here unless explicitly
# listed in sta_only_tcl. Single source of truth = tcl_srcs.
exported_tcl = [f for f in tcl_srcs if f not in sta_only_tcl]

filegroup(
name = "tcl_scripts",
srcs = exported_tcl,
Expand Down