Hello,

On 29/01/2019 14:08, Andreas Klebinger wrote:
On hadrian:

Documentation will eventually catch up as more people use hadrian but imo things that
need to be supported are:

- Some workflows:
  * make fast
Right, so we're in the process of discussing something very much related at https://ghc.haskell.org/trac/ghc/ticket/16253. For reference, this is what 'make fast' does: https://ghc.haskell.org/trac/ghc/wiki/Building/Using#Skipdependencybuilding
  * ./validate
I'm in the process of tweaking the validate script to have an '--hadrian' mode. I'll document it as soon as it works, along the code changes, in the upcoming merge request.
  * make EXTRA_HC_OPTS="..."
I think you can already achieve this (but it's perhaps not documented in 'make.md'), with the flavour/user settings mechanism: https://github.com/ghc/ghc/blob/master/hadrian/doc/user-settings.md (see for example the different 'userArgs' definitions).
- On windows build.bat defaults to stack which I think has never worked on my box.
Andrey? (cc'd him)


There are also a few quality of life issues like ctrl+c not canceling the build on windows. Which I hope will be resolved at some point but not sure if these should be showstoppers.

[email protected] schrieb:
One more thought I'd like to throw out in the open here:

The current Newcomers' Guide uses the current Makefile workflow, but
this is on a fast track to deprecation - but then, I doubt Hadrian has
seen enough exposure yet to use for a good beginner-friendly "Just
Works" guide. I'm leaning towards sticking with make for now, also
because existing material is already written this way; and then once
Hadrian is truly ready for prime time, we can rewrite the relevant
parts.

Thoughts?

_______________________________________________
ghc-devs mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

--
Alp Mestanogullari, Haskell Consultant
Well-Typed LLP, https://www.well-typed.com/

Registered in England and Wales, OC335890
118 Wymering Mansions, Wymering Road, London, W9 2NF, England

_______________________________________________
ghc-devs mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to