dll-split

2017-08-29 Thread lonetiger
Hi All,

I have just killed off dll-split, this means that you no longer need to 
maintain a list
of modules in GHC.mk.

If you’re a non-Windows programmer you can stop reading here, for those that 
build on Windows:

The replacement for dll-split is called gen-dll, and it is able to 
automatically partition any library we build, so this issue is hopefully solved 
once and for all.

Currently dynamic linking is still turned off as I have a few more patches to 
upstream. When I do turn it on, by default you will get a large ~45min hit in 
compile time. This is because dlltool which BFD based is quite slow.

To mitigate this gen-dll supports the use of the msys2 project’s genlib tool. 
This tool finishes in seconds instead of tens of minutes like dlltool.

To install it just run pacman -Sy mingw-w64-$(uname -m)-tools-git

The wiki pages have been updated accordingly already. If you install this now 
you won’t notice any difference in build time later.

Thanks,
Tamar

___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Crossreferenced GHC 8.0.2

2017-08-29 Thread Niklas Hambüchen
On 17/08/17 18:22, Matthew Pickering wrote:
> 2. A nix function which builds and references all dependencies.

Very nice, it worked out of the box for me! (Almost, small issue with
https://github.com/mpickering/core-kythe/issues/10.)

I like how you can just add package names to a file and everything
magically works without setup effort.

Niklas
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs