Skip to content

Plans to increase LlvmMaxVersion?

Motivation

Hi all, Gentoo is planning to remove LLVM 13 (lowest supported version currently) from the tree: https://bugs.gentoo.org/876187

I have done a lot of work packaging ghc 9.0.2 for alternative architectures - ppc64, arm64, and riscv - and getting it in tree. We are already shipping the Debian patch to bump the maximum version for 9.0.2 to 13: https://salsa.debian.org/haskell-team/DHG_packages/-/blob/master/p/ghc/debian/patches/78db231ffdf8385662812781c1d09c630cfad313.patch

Debian is also having problems with 9.2 build due to not restricting the maximum LLVM version: https://buildd.debian.org/status/fetch.php?pkg=ghc&arch=riscv64&ver=9.2.5-1%7Eexp2&stamp=1669801125&raw=1

Presumably they will just extend their arch-specific restriction from arm64 to cover riscv, but the point is that right now GHC's LLVM target is behind the default versions of major distros.

Proposal

There does not seem to be any effort currently to increase this maximum allowed version to keep pace with LLVM development. Could it please be increased to at least 14?

Edited by matoro
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information