-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
futhark does not compile on windows #832
Comments
Looks like this is fixed in GHC 8.8.2, which came out today. I'll update the |
230b799 (16 Oct 2019) is the latest working version at the moment |
The new stack snapshot uses GHC 8.8.2. Could you check whether it fixes it for you? |
Unfortunately it's not fixed with the new nightly. |
Drat. This is a GHC bug, and I really am not very familiar with its code (least of all its Windows runtime). I suggest reporting it on the GHC bug tracker. |
There is a ticket for it here https://gitlab.haskell.org/ghc/ghc/issues/17599 |
Looks like a fix didn't get in 8.8.2 after all. Need to wait until the next release |
I see. Thanks for looking into this! |
I also ran into this. The fix is supposedly in master of GHC 8.8 so should be in GHC 8.8.3. In the meantime, no futhark version higher than 0.12.1 will compile on windows. (I just tested 0.12.1 and it does finish compiling at least.) @athas Is there a way we could use a GHC 8.8.x nightly build or something to get around the issue? I'm not familiar with haskell, ghc, or stack myself, I'm new to this and trying out futhark. |
Futhark can as of recently also be built with I think installing the core Haskell Platform will get you everything you need. |
The Haskell Platform is still 8.6.5, so that doesn't really help unfortunately. |
Can you install the 8.8.3 Windows GHC binary directly? It's also installable via Chocolatey. In fact, I'm setting up some Windows CI on Azure pipelines right this moment, because I guess it's time we start taking it seriously again. I use Chocolatey there. |
I tried getting ghc 8.8.3 and cabal 3.0 manually but then realized they were in chocolatey. Those installed fine. Combining those with the haskell platform's mingw and msys (via path) I was able to get the build started but I'm still getting some errors. Oddly it's saying that futhark is 0.12.1, but this appears to be in futhark.cabal file.
|
Bizarrely, that looks like it's using an old Try the use-cabal-file branch, which has an explicit |
This happened because I has previously checked out the v0.12.1 tag and tried to build. I deleted the Eventually I somehow made it into a state where At this point I'm going to try to use this build (later today, though) and see if it works for me. |
Good you got it working. Stack also just (today) released the first snapshot with GHC 8.8.3, which I have upgraded to in |
The Azure CI now also compiles Futhark on Windows (with |
See
futhark_build.txt notable line:
This looks to be similar to digital-asset/ghc-lib#142
The text was updated successfully, but these errors were encountered: