From: Sebastien Bourdeauducq Date: Tue, 29 Sep 2015 07:53:18 +0000 (+0800) Subject: build: stop at the first failed Quartus command X-Git-Tag: 24jan2021_ls180~2099^2~3^2~32 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=913558ab197acc692dc4f312994f015a34b5dc43;p=litex.git build: stop at the first failed Quartus command --- diff --git a/migen/build/altera/quartus.py b/migen/build/altera/quartus.py index aab2048b..4b5b8355 100644 --- a/migen/build/altera/quartus.py +++ b/migen/build/altera/quartus.py @@ -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}