Skip to content
Snippets Groups Projects
Commit d6b5da24 authored by Guido Trotter's avatar Guido Trotter
Browse files

Add profiling dependencies note


As discussed on the list, these are needed to do a make hs-prof.

Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent f74b88fa
No related branches found
No related tags found
No related merge requests found
......@@ -127,6 +127,13 @@ what the splices are converted to. This can be done via::
$ make HEXTRA="-ddump-splices"
To build profiling code you must install the ``ghc-prof`` (or
``gch6-prof``) package, and all the relevant libraries with their
``-prof`` counterparts. If installing libraries through cabal the config
file should include ``library-profiling: True`` or the ``-p`` flag
should be used. Any library already installed can be updated by passing
``--reinstall`` as well.
Due to the way TemplateHaskell works, it's not straightforward to
build profiling code. The recommended way is to run ``make hs-prof``,
or alternatively the manual sequence is::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment