[Haskell-cafe] GHC 8.2.2 for WSL Ubuntu 16.04
Herbert Valerio Riedel
hvriedel at gmail.com
Tue Feb 13 13:35:10 UTC 2018
Hello *,
Even though WSL may eventually address this issue for good, I've setup
a new WSL-optimised flavour of my PPA for Ubuntu 16.04 LTS
https://launchpad.net/~hvr/+archive/ubuntu/ghc
over at
https://launchpad.net/~hvr/+archive/ubuntu/ghc-wsl
I don't have experience myself with Ubuntu on WSL, but it should be
simply a matter of using
sudo add-apt-repository ppa:hvr/ghc-wsl
sudo apt-get update
and then
sudo apt-get install ghc-8.2.2-prof cabal-install-head
Then simply add `/opt/ghc/bin` to your `$PATH` (see instructions at
https://launchpad.net/~hvr/+archive/ubuntu/ghc )
There are also builds of GHC 8.0.2 and GHC 8.4.1-alpha (may still be
building as of writing) in this new ghc-for-wsl PPA.
I'd appreciate if somebody could test whether these GHC binaries work
as intended on the non-insider Windows 10 builds and let me know.
Cheers,
Herbert
On Tue, Feb 13, 2018 at 12:21 PM, Yitzchak Gale <gale at sefer.org> wrote:
> I wrote:
>>> I have made available a build of GHC 8.2.2 with the config option:
>>> --disable-large-address-space
>>> [2] https://github.com/Microsoft/WSL/issues/1671
>
> Shao Cheng wrote:
>> Thank you! A simpler fix for WSL ghc users is upgrading to fast ring of
>> insider builds, the mmap overhead is much lower and ghc startup lag is
>> barely noticable.
>
> Thanks, that's good news. I can't use an insider build - I need to be on
> standard Windows in order to support our customers. The latest reports
> in the GitHub issue seemed to indicate that the slowness is still quite
> significant even on insider builds. I'm glad to hear you say that this is no
> longer true. I am looking forward to regular GHC binary tarballs working
> normally on regular WSL sometime in the near future.
>
> Yitz
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
More information about the ghc-devs
mailing list