How to teach Hadrian not to build ghctags and haddock

Alp Mestanogullari alp at
Mon Feb 4 09:54:28 UTC 2019


On 04/02/2019 10:24, Tobias Dammers wrote:
> The documentation already advises newcomers to only rebuild GHC itself;
> I've updated it to use the symbolic stage2:exe:ghc-bin notation though
> instead of the actual filename (_build/stage1/bin/ghc), assuming that
> the former will work even when building in a different directory. I've
> also added a link to the Hadrian README, which should provide enough
> hints to the rest of the Hadrian documentation.

The simple notation is just a shorthand for the right path under 
whatever build root is used (_build by default, or the value of 
--build-root when it is passed), so it will indeed be mapped to the 
right concrete target regardless of the build root.

Alp Mestanogullari, Haskell Consultant
Well-Typed LLP,

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

More information about the ghc-devs mailing list