From 913558ab197acc692dc4f312994f015a34b5dc43 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 29 Sep 2015 15:53:18 +0800 Subject: [PATCH] build: stop at the first failed Quartus command --- migen/build/altera/quartus.py | 2 ++ 1 file changed, 2 insertions(+) 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} -- 2.30.2