Reduction in Windows CI capacity

2021-02-08 Thread Ben Gamari
tl;dr. GHC's CI capacity will be a reduced due to a loss of sponsorship, particularly in Windows runner capacity. Help wanted in finding additional capacity. Hi all, For many years Google X has generously donated Google Compute Engine resources to GHC's CI infrastructure. We all ow

Re: [ANNOUNCE] GHC 9.0.1 released

2021-02-08 Thread Jens Petersen
Hi Karel, On Tue, 9 Feb 2021 at 00:56, Karel Gardas wrote: > [karel@localhost ~]$ sudo dnf --enablerepo=updates-testing-modular > install ghc:9.0/default Apologies, I thought I had tested, but I copied without the 'module' command, it should be: $ sudo dnf --enablerepo=updates-testing-modular

Re: Has ghc-9.0 for windows changed to require installation?

2021-02-08 Thread Phyx
No, there's no change at all in the portability. This looks like a fallout from switching from Make to Hadrian. ghcii.sh was created as an artifact of make install. Hadrian seems to lack this step. Note that this script is nothing magical, it's just a hack around how signal handlers in Native win

Re: Find the ghc binary path from libdir

2021-02-08 Thread Fendor
Hi, Well the purpose is a bit convoluted, but here it goes: Basically, we want to know which `ghc` version `cabal-install` is going to pick for compiling the project in a platform independent way without resorting to linking to `Cabal`. You can execute `cabal exec -- ghc` which launches the

Re: Find the ghc binary path from libdir

2021-02-08 Thread Daniel Gröber
Hi Fendor, On Mon, Feb 08, 2021 at 07:35:12PM +0100, Fendor wrote: > I want to find out the location of the `ghc` (and `ghc-pkg`) executable > given the `$libdir` (obtained by `ghc --print-libdir`). > Is there a platform independent way of doing that, which we can rely on? Are you aware of the `g

Find the ghc binary path from libdir

2021-02-08 Thread Fendor
Hello everyone! I want to find out the location of the `ghc` (and `ghc-pkg`) executable given the `$libdir` (obtained by `ghc --print-libdir`). Is there a platform independent way of doing that, which we can rely on? E.g. on windows, we found that the ghc executable's location is: * `$libdir/

Re: [ANNOUNCE] GHC 9.0.1 released

2021-02-08 Thread Karel Gardas
Hi Jens, fedora newbie here. Not sure what I'm doing wrong, but it's not working on f33/amd64 here: [karel@localhost ~]$ sudo dnf update [sudo] password for karel: Last metadata expiration check: 0:00:33 ago on Mon 08 Feb 2021 05:53:17 PM CET. Dependencies resolved. Nothing to do. Complete! [kar

Re: [ANNOUNCE] GHC 9.0.1 released

2021-02-08 Thread Jens Petersen
On Fri, 5 Feb 2021 at 02:04, Ben Gamari wrote: > The GHC team is very pleased to announce the availability of GHC 9.0.1. > This is now testable in Fedora with: sudo dnf --enablerepo=updates-testing-modular install ghc:9.0/default Thanks, Jens ___ ghc

Re: Has ghc-9.0 for windows changed to require installation?

2021-02-08 Thread Moritz Angermann
Thanks for flagging this. This would be the opposite direction of what I’ve been advocating for. That we get bindists for Linux and macOS that work by simply unpacking them. On Mon, 8 Feb 2021 at 10:05 PM, Takenobu Tani wrote: > Hi devs, > > The ghc-binary for windows needs to `make install` sin

Has ghc-9.0 for windows changed to require installation?

2021-02-08 Thread Takenobu Tani
Hi devs, The ghc-binary for windows needs to `make install` since ghc-9.0 [1]. Is this an intended change? Previously, ghc-8.10.4 binary for windows [2] doesn't need to `make install`. We only expand the tar-file and then we can execute `bin/ghcii.sh`. [1]: https://downloads.haskell.org/ghc/9.0