Proposal: Improving the LLVM backend by packaging it

Ben Gamari bgamari.foss at
Fri Nov 28 15:52:57 UTC 2014

David Terei <d at> writes:

> Late to the conversation sorry.
> I think this sounds like a good plan. Given we are planning to stick
> with a vanilla LLVM but just fix the version, it seems it should make
> it reasonable to have distro’s support this. We can provide binaries
> easily, but also just a declaration that llvm-3.4 is the current
> supported version, so please package that and tell GHC where to find
> it.


> We already do this in a weak way by checking which version of LLVM the
> user is using and issuing a warning when it’s one we don’t support.
> The other aspect that would be very useful is if all the build
> machines tested with LLVM as well. It’s a lot of work to support LLVM
> across all the platforms we support and to track changes across both
> communities. Automated testing of the currently supported LLVM version
> and LLVM-HEAD would be great.

Absolutely, this would be amazing. I generally don't find out
about regressions due to LLVM until I have time to build and test a
snapshot which doesn't happen nearly as often as I would like.


- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <>

More information about the ghc-devs mailing list