build: stop at the first failed Quartus command

This commit is contained in:
Sebastien Bourdeauducq 2015-09-29 15:53:18 +08:00
parent 5e45b6ced6
commit 913558ab19
1 changed files with 2 additions and 0 deletions

View File

@ -94,6 +94,8 @@ def _build_files(device, sources, vincpaths, named_sc, named_pc, build_name):
def _run_quartus(build_name, quartus_path):
build_script_contents = """# Autogenerated by Migen
set -e
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_asm --read_settings_files=off --write_settings_files=off {build_name} -c {build_name}