Skip to content

Commit 08b5425

Browse files
committed
makefile: make update_ok, no longer requires openroad in the path
this is the same as for other make targets Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 31fca7b commit 08b5425

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow/util/genMetrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def extract_metrics(cwd, platform, design, flow_variant, output, hier_json):
208208
metrics_dict = defaultdict(dict)
209209
metrics_dict['run__flow__generate_date'] = now.strftime('%Y-%m-%d %H:%M')
210210
metrics_dict['run__flow__metrics_version'] = 'Metrics_2.1.2'
211-
cmdOutput = check_output(['openroad', '-version'])
211+
cmdOutput = check_output([os.environ.get('OPENROAD_EXE', 'openroad'), '-version'])
212212
cmdFields = [x.decode('utf-8') for x in cmdOutput.split()]
213213
metrics_dict['run__flow__openroad_version'] = str(cmdFields[0])
214214
if len(cmdFields) > 1:

0 commit comments

Comments
 (0)