From 7c19e43444963e59ad674c972bbaf3d69305b023 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Wed, 3 Sep 2014 18:27:11 -0600 Subject: [PATCH] vivado: mode batch to prevent vivado from opening tcl shell on error --- mibuild/xilinx_vivado.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mibuild/xilinx_vivado.py b/mibuild/xilinx_vivado.py index 5d18db79..fa472b93 100644 --- a/mibuild/xilinx_vivado.py +++ b/mibuild/xilinx_vivado.py @@ -72,7 +72,7 @@ def _run_vivado(build_name, vivado_path, source, ver=None): if source: settings = xilinx_common.settings(vivado_path, ver) 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" tools.write_to_file(build_script_file, build_script_contents, force_unix=True) -- 2.30.2