diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-07-21 18:37:14 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-07-21 18:38:10 +0200 |
commit | 4b862ddc4d81ff8b60bbc78eeb26d4221bfd52d8 (patch) | |
tree | 9dd9886bf52d936246630450f23968bf16e30efa | |
parent | ce28bd94397c0ecf907a3b260c1ffa481d7e3399 (diff) | |
download | ghdl-4b862ddc4d81ff8b60bbc78eeb26d4221bfd52d8.tar.gz ghdl-4b862ddc4d81ff8b60bbc78eeb26d4221bfd52d8.tar.bz2 ghdl-4b862ddc4d81ff8b60bbc78eeb26d4221bfd52d8.zip |
configure: use llvm6 ortho backend for all llvm versions.
-rwxr-xr-x | configure | 22 |
1 files changed, 9 insertions, 13 deletions
@@ -38,7 +38,7 @@ libdirreverse=../.. gcc_src_dir= llvm_config= backtrace_lib= -llvm_be=llvm +llvm_be=llvm6 build= build_mode= enable_werror=true @@ -262,26 +262,22 @@ if test $backend = llvm; then echo "cannot run $llvm_config" exit 1 fi - if check_version 3.5 $llvm_version; then - llvm_be=llvm35 - elif check_version 3.6 $llvm_version || - check_version 3.7 $llvm_version || - check_version 3.8 $llvm_version || - false; then - echo "Debugging is not enabled with llvm $llvm_version" - llvm_be=llvm-nodebug - # Tested with llvm 3.5, so assume 3.6, 3.7 and 3.8 - elif check_version 3.9 $llvm_version || + if check_version 3.5 $llvm_version || + check_version 3.6 $llvm_version || + check_version 3.7 $llvm_version || + check_version 3.8 $llvm_version || + check_version 3.9 $llvm_version || check_version 4.0 $llvm_version || check_version 5.0 $llvm_version || - check_version 6.0 $llvm_version || + false; then + echo "Debugging is not enabled with llvm $llvm_version" + elif check_version 6.0 $llvm_version || check_version 7.0 $llvm_version || check_version 8.0 $llvm_version || check_version 9.0 $llvm_version || check_version 10.0 $llvm_version || false; then echo "Debugging is not enabled with llvm $llvm_version" - llvm_be=llvm4-nodebug else echo "Unhandled version llvm $llvm_version" exit 1 |