diff --git a/litex/build/altera/quartus.py b/litex/build/altera/quartus.py index 7ec1360c1..74d903c0d 100644 --- a/litex/build/altera/quartus.py +++ b/litex/build/altera/quartus.py @@ -156,6 +156,7 @@ def _build_script(build_name, create_rbf): script_contents = "# Autogenerated by LiteX / git: " + tools.get_litex_git_revision() script_file = "build_" + build_name + ".sh" script_contents += """ +set -e -u -x -o pipefail 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}