From cfb359f0b05e9042c1045213b93b09e465fa8ccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Mon, 6 Apr 2020 08:22:09 +0200 Subject: Add compatibility with LLVM-10. (#1192) * configure: Add compatibility with LLVM-10. * doc: Update list of supported LLVM versions. --- configure | 15 ++++++++------- doc/getting/LLVM.rst | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/configure b/configure index 307132d85..c426abb7d 100755 --- a/configure +++ b/configure @@ -272,13 +272,14 @@ if test $backend = llvm; 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 || - check_version 4.0 $llvm_version || - check_version 5.0 $llvm_version || - check_version 6.0 $llvm_version || - check_version 7.0 $llvm_version || - check_version 8.0 $llvm_version || - check_version 9.0 $llvm_version || + elif check_version 3.9 $llvm_version || + check_version 4.0 $llvm_version || + check_version 5.0 $llvm_version || + 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 diff --git a/doc/getting/LLVM.rst b/doc/getting/LLVM.rst index 09e1b7a68..e859c811d 100644 --- a/doc/getting/LLVM.rst +++ b/doc/getting/LLVM.rst @@ -7,7 +7,7 @@ LLVM backend * GCC (Gnu Compiler Collection) * GNAT (Ada compiler for GCC) -* LLVM (Low-Level-Virtual Machine) and CLANG (Compiler front-end for LLVM): 3.5, 3.8, 3.9, 4.0, 5.0, 6.0, 7.0, 8.0 or 9.0 +* LLVM (Low-Level-Virtual Machine) and CLANG (Compiler front-end for LLVM): 3.5, 3.8, 3.9, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 or 10.0 .. _BUILD:llvm:GNAT: -- cgit v1.2.3