[Git][ghc/ghc][master] 2 commits: Bump supported LLVM range from 10 through 15 to 11 through 16
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Wed Feb 1 17:32:24 UTC 2023
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
0cc16aaf by Matthew Pickering at 2023-02-01T12:31:58-05:00
Bump supported LLVM range from 10 through 15 to 11 through 16
LLVM 15 turns on the new pass manager by default, which we have yet to
migrate to so for new we pass the `-enable-new-pm-0` flag in our
llvm-passes flag.
LLVM 11 was the first version to support the `-enable-new-pm` flag so we
bump the lowest supported version to 11.
Our CI jobs are using LLVM 12 so they should continue to work despite
this bump to the lower bound.
Fixes #21936
- - - - -
f94f1450 by Matthew Pickering at 2023-02-01T12:31:58-05:00
Bump DOCKER_REV to use alpine image without LLVM installed
alpine_3_12 only supports LLVM 10, which is now outside the supported
version range.
- - - - -
3 changed files:
- .gitlab-ci.yml
- configure.ac
- llvm-passes
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -2,7 +2,7 @@ variables:
GIT_SSL_NO_VERIFY: "1"
# Commit of ghc/ci-images repository from which to pull Docker images
- DOCKER_REV: 2d59d551647d102c4af44f257c520a94f04ea3f6
+ DOCKER_REV: 572353e0644044fe3a5465bba4342a9a0b0eb60e
# Sequential version number of all cached things.
# Bump to invalidate GitLab CI cache.
=====================================
configure.ac
=====================================
@@ -554,8 +554,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=10 # inclusive
-LlvmMaxVersion=15 # not inclusive
+LlvmMinVersion=11 # inclusive
+LlvmMaxVersion=16 # not inclusive
AC_SUBST([LlvmMinVersion])
AC_SUBST([LlvmMaxVersion])
sUPPORTED_LLVM_VERSION_MIN=$(echo \($LlvmMinVersion\) | sed 's/\./,/')
=====================================
llvm-passes
=====================================
@@ -1,5 +1,5 @@
[
-(0, "-mem2reg -globalopt -lower-expect"),
-(1, "-O1 -globalopt"),
-(2, "-O2")
+(0, "-enable-new-pm=0 -mem2reg -globalopt -lower-expect"),
+(1, "-enable-new-pm=0 -O1 -globalopt"),
+(2, "-enable-new-pm=0 -O2")
]
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/955a99ea28a0d06de67f0595d366450281aab0c0...f94f14502a00824d48cef69d362774a9a4bfc6d6
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/955a99ea28a0d06de67f0595d366450281aab0c0...f94f14502a00824d48cef69d362774a9a4bfc6d6
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230201/4e838b62/attachment-0001.html>
More information about the ghc-commits
mailing list