Getting a profiled GHC with hadrian.

Andreas Klebinger klebinger.andreas at gmx.at
Fri Jan 25 13:28:17 UTC 2019


Hello Devs,

What's the proper way to get a profiled GHC in hadrian?

I tried

   hadrian/build.cabal.sh -j8 --flavour=Prof

but that didn't work out:

   $ _build/stage1/bin/ghc.exe +RTS -p
   ghc.exe: the flag -p requires the program to be built with -prof
   ghc.exe:
   ...

What am I doing wrong here?

Cheers
Andreas


More information about the ghc-devs mailing list