[script] now run fpga task has a new option ``default_tool_path``

This commit is contained in:
tangxifan 2023-12-12 13:11:48 -08:00
parent 1a4aaaf759
commit d9db78ac30
1 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,8 @@ parser.add_argument("--continue_on_fail", action="store_true", help="Exit script
parser.add_argument(
"--show_thread_logs", action="store_true", help="Skips logs from running thread"
)
parser.add_argument("--default_tool_path", type=str, default=os.path.join(flow_script_dir, os.pardir, "misc", "fpgaflow_default_tool_path.conf"), help="The configuraton file contains paths to tools as well as keywords to be extracted from logs")
parser.add_argument(
args = parser.parse_args()
# = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
@ -407,6 +409,7 @@ def generate_each_task_actions(taskname):
task_conf=task_conf,
)
command += ["--flow_config", curr_task_conf_file]
command += ["--default_tool_path", args.default_tool_path]
flow_run_cmd_list.append(
{
"arch": arch,