aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Esser <besser82@fedoraproject.org>2020-04-06 08:22:09 +0200
committerGitHub <noreply@github.com>2020-04-06 08:22:09 +0200
commitcfb359f0b05e9042c1045213b93b09e465fa8ccc (patch)
treed3321bd65774d28aff0fcc926cd27d8ee05955ab
parentc3b78f3370c1def22ff7240045d174fb120714e9 (diff)
downloadghdl-cfb359f0b05e9042c1045213b93b09e465fa8ccc.tar.gz
ghdl-cfb359f0b05e9042c1045213b93b09e465fa8ccc.tar.bz2
ghdl-cfb359f0b05e9042c1045213b93b09e465fa8ccc.zip
Add compatibility with LLVM-10. (#1192)
* configure: Add compatibility with LLVM-10. * doc: Update list of supported LLVM versions.
-rwxr-xr-xconfigure15
-rw-r--r--doc/getting/LLVM.rst2
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: