ghc/allow-newer-llvm-versions.patch
David Abdurachmanov 14c6c6dbfe
Attempt to build with LLVM 13
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-04-15 07:22:49 +03:00

16 lines
583 B
Diff

diff --git a/configure.ac b/configure.ac
index b519146..43fbb71 100644
--- a/configure.ac
+++ b/configure.ac
@@ -690,8 +690,8 @@ AC_SUBST(InstallNameToolCmd)
# tools we are looking for. In the past, GHC supported a number of
# versions of LLVM simultaneously, but that stopped working around
# 3.5/3.6 release of LLVM.
-LlvmMinVersion=9 # inclusive
-LlvmMaxVersion=13 # not inclusive
+LlvmMinVersion=10 # inclusive
+LlvmMaxVersion=17 # not inclusive
AC_SUBST([LlvmMinVersion])
AC_SUBST([LlvmMaxVersion])
sUPPORTED_LLVM_VERSION_MIN=$(echo \($LlvmMinVersion\) | sed 's/\./,/')