Skip to content

Commit e7486ae

Browse files
committed
make: silently suppress warnings in read_liberty.tcl
This fixes and `make gui_open` and also `make floorplan` Reduce log spam: don't log command that suppresses warning Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 0ae5fce commit e7486ae

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# To remove [WARNING STA-1212] from the logs for ASAP7.
22
# /OpenROAD-flow-scripts/flow/platforms/asap7/lib/asap7sc7p5t_SIMPLE_RVT_TT_nldm_211120.lib.gz line 13178, timing group from output port.
33
# Added following suppress_message
4-
log_cmd suppress_message STA 1212
4+
suppress_message STA 1212

flow/scripts/load.tcl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@ source $::env(SCRIPTS_DIR)/util.tcl
33
source $::env(SCRIPTS_DIR)/report_metrics.tcl
44

55
proc load_design { design_file sdc_file } {
6-
# Source platform-related Tcl command (initially for suppressing Liberty
7-
# warnings
8-
if { [env_var_exists_and_non_empty PLATFORM_TCL] } {
9-
log_cmd source $::env(PLATFORM_TCL)
10-
}
11-
126
# Read liberty files
137
source $::env(SCRIPTS_DIR)/read_liberty.tcl
148

flow/scripts/read_liberty.tcl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Source platform-related Tcl command (initially for suppressing Liberty
2+
# warnings
3+
if { [env_var_exists_and_non_empty PLATFORM_TCL] } {
4+
source $::env(PLATFORM_TCL)
5+
}
6+
17
#Read Liberty
28
if { [env_var_exists_and_non_empty CORNERS] } {
39
# corners

0 commit comments

Comments
 (0)