vivado: mode batch to prevent vivado from opening tcl shell on error

This commit is contained in:
Robert Jordens 2014-09-03 18:27:11 -06:00 committed by Sebastien Bourdeauducq
parent f21e05025d
commit 7c19e43444
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ def _run_vivado(build_name, vivado_path, source, ver=None):
if source: if source:
settings = xilinx_common.settings(vivado_path, ver) settings = xilinx_common.settings(vivado_path, ver)
build_script_contents += "source " + settings + "\n" build_script_contents += "source " + settings + "\n"
build_script_contents += "vivado -mode tcl -source " + build_name + ".tcl\n" build_script_contents += "vivado -mode batch -source " + build_name + ".tcl\n"
build_script_file = "build_" + build_name + ".sh" build_script_file = "build_" + build_name + ".sh"
tools.write_to_file(build_script_file, build_script_contents, force_unix=True) tools.write_to_file(build_script_file, build_script_contents, force_unix=True)