ghc-ios / ghc-ios-scripts

Scripts for building GHC and Haskell programs for iOS
166 stars 27 forks source link

ARM64 support #20

Open mgomezch opened 9 years ago

mgomezch commented 9 years ago

What’s necessary for ARMv8 64-bit support? The Apple App Store now demands 64-bit support for all new apps (since February) and it’ll be mandatory even for existing apps come June, so it’ll soon be entirely impossible to use the current state of ghc-ios-scripts to write App Store-publishable code.

I understand @lukexi already did all the work in GHC (see GHC Trac 7942), but there are no published aarch64-apple-ios binaries for GHC 7.10 as far as I can tell. I've also been having trouble building one myself: what LLVM+Clang should I use for this, and on what version/commit of GHC? I tried with LLVM 3.6 and GHC master (today, 8e4dc8f) and it failed.

Ogel commented 9 years ago

I'm interested in this as well. We've been exploring the idea of using Haskell with one of our iOS apps, but this is definitely a blocker now that Apple requires arm64 for app updates.

lukexi commented 9 years ago

Hi guys,

Super sorry I haven't been around — I've been very distracted with VR work and haven't done much with mobile lately : ).

I'll dig up my instructions to myself on creating an ARM64 compiler and publish them so someone can continue the work! I did indeed have it working quite nicely last I used it.

I think all the code is out there (you can see the necessary aarch64 scripts are already here in the ghc-ios-scripts repo), it's really just setting up the GHC build and uploading the binaries...

davidandreoletti commented 9 years ago

@lukexi: any update regarding this issue ?

cies commented 8 years ago

This probably fixed it:

If I'm not mistaken this will be in GHC 8.0 (which was recently branched):