llvm-hs / llvm-hs

Haskell bindings for LLVM
511 stars 120 forks source link

Compile with bytestring-0.11 #425

Open tomsmeding opened 1 year ago

tomsmeding commented 1 year ago

The bounds in the cabal file for llvm-hs-pure exclude bytestring-0.11.0.0, which is correct since it doesn't compile with bytestring-0.11.0.0.

However, the rest of the world is transitioning to it, so for compatibility it would be nice if llvm-hs-pure also compiled with bytestring-0.11.0.0. This PR provides that compatibility by restricting imports (the relevant changes seem to simply be that newer bytestring exports more stuff, which now collides with things llvm-hs-pure imports from elsewhere).

Thanks!

noughtmare commented 7 months ago

bytestring-0.10 doesn't support GHC versions 9.2 and later. This is blocking me when trying to build accelerate-llvm-native with GHC 9.6. Please merge this.

Edit: or I guess I should just use the llvm-15 branch?

tomsmeding commented 7 months ago

@noughtmare For Accelerate stuff we're using the llvm-15 branch; it works well for us.