grin-compiler / grin

GRIN is a compiler back-end for lazy and strict functional languages with whole program optimization support.
https://grin-compiler.github.io/
1.03k stars 38 forks source link

Support ghc 8.10 #129

Open 414owen opened 2 years ago

414owen commented 2 years ago

Motivation for this change:

Well I ran nix-shell shell.nix over an hour ago and it still hasn't finished...

With this change, all you need to run to get a working environment is nix-shell -p ghc cabal llvmPackages_7.llvm pkg-config libffi, and your binary caches will work their magic.

I had to make some changes to llvm-hs, I'll try upstreaming them.

Some end-to-end tests are failing because of missing *.binary files. Not sure what the deal is. I'll see if the CI has more luck.