vivado: mode batch to prevent vivado from opening tcl shell on error
authorRobert Jordens <jordens@gmail.com>
Thu, 4 Sep 2014 00:27:11 +0000 (18:27 -0600)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Thu, 4 Sep 2014 07:25:34 +0000 (15:25 +0800)
mibuild/xilinx_vivado.py

index 5d18db79c200306b23de11860bde6e9605825461..fa472b934ecbc3138fbaab531b202a0467d50b8f 100644 (file)
@@ -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)