Skip to content

Hadrian: Add -haddock option for GHCi's :doc command

Takenobu Tani requested to merge takenobu-hs/ghc:wip/hadrian-ghci-doc into master

This commit adds -haddock option to Hadrian-based build system.

To enable :doc command on GHCi, core libraries must be compiled with -haddock option. Especially, the -haddock option is essential for a release build.

Assuming current GitLab CI condition (.gitlab-ci.yml), I add -haddock option to the default flavour only.

This has already been done for Make-based build system. Please see #16415 (closed).

Merge request reports