Quartus build: bail out on error
This commit is contained in:
parent
a426ec9e2f
commit
9f7028e088
|
@ -156,6 +156,7 @@ def _build_script(build_name, create_rbf):
|
||||||
script_contents = "# Autogenerated by LiteX / git: " + tools.get_litex_git_revision()
|
script_contents = "# Autogenerated by LiteX / git: " + tools.get_litex_git_revision()
|
||||||
script_file = "build_" + build_name + ".sh"
|
script_file = "build_" + build_name + ".sh"
|
||||||
script_contents += """
|
script_contents += """
|
||||||
|
set -e -u -x -o pipefail
|
||||||
quartus_map --read_settings_files=on --write_settings_files=off {build_name} -c {build_name}
|
quartus_map --read_settings_files=on --write_settings_files=off {build_name} -c {build_name}
|
||||||
quartus_fit --read_settings_files=off --write_settings_files=off {build_name} -c {build_name}
|
quartus_fit --read_settings_files=off --write_settings_files=off {build_name} -c {build_name}
|
||||||
quartus_asm --read_settings_files=off --write_settings_files=off {build_name} -c {build_name}
|
quartus_asm --read_settings_files=off --write_settings_files=off {build_name} -c {build_name}
|
||||||
|
|
Loading…
Reference in New Issue