File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
tools/AutoTuner/src/autotuner Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -307,8 +307,14 @@ def openroad(
307307 base_dir , f"flow/reports/{ args .platform } /{ args .design } " , flow_variant
308308 )
309309 )
310+ results_path = os .path .abspath (
311+ os .path .join (
312+ base_dir , f"flow/results/{ args .platform } /{ args .design } " , flow_variant
313+ )
314+ )
310315 os .makedirs (log_path , exist_ok = True )
311316 os .makedirs (report_path , exist_ok = True )
317+ os .makedirs (results_path , exist_ok = True )
312318
313319 if install_path is None :
314320 install_path = os .path .join (base_dir , "tools/install" )
@@ -338,6 +344,9 @@ def openroad(
338344 metrics_command += f" -v { flow_variant } "
339345 metrics_command += f" -d { args .design } "
340346 metrics_command += f" -p { args .platform } "
347+ metrics_command += f" --logs { log_path } "
348+ metrics_command += f" --reports { report_path } "
349+ metrics_command += f" --results { results_path } "
341350 metrics_command += f" -o { metrics_file } "
342351 run_command (
343352 args ,
You can’t perform that action at this time.
0 commit comments