Skip to content

Commit cb4bb1a

Browse files
committed
make: fix my open_ gaffe
interact with GUI only when gui is enabled Signed-off-by: Øyvind Harboe <[email protected]>
1 parent bdecdd0 commit cb4bb1a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

flow/scripts/open.tcl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,10 @@ proc read_timing {input_file} {
6060
if {[env_var_equals GUI_TIMING 1]} {
6161
puts "GUI_TIMING=1 reading timing, takes a little while for large designs..."
6262
read_timing $input_file
63-
gui::select_chart "Endpoint Slack"
64-
log_cmd gui::update_timing_report
63+
if {[gui::enabled]} {
64+
gui::select_chart "Endpoint Slack"
65+
log_cmd gui::update_timing_report
66+
}
6567
}
6668

6769
fast_route

0 commit comments

Comments
 (0)