Merge pull request #1304 from jevinskie/jev/bug/quartus-error-bailout

Quartus build: bail out on error
This commit is contained in:
enjoy-digital 2022-05-23 09:56:32 +02:00 committed by GitHub
commit b510157b2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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}