Add `-haddock` option under ci condition to fix #16415

Authored by takenobu on Apr 13 2019, 1:54 AM.

Description

Add -haddock option under ci condition to fix Trac #16415

In order to use the :doc command in ghci, it is necessary
to compile for core libraries with -haddock option.

Especially, the -haddock option is essential for release building.

Note:

  • The -haddock option may affect compile time and binary size.
  • But hadrian has already set -haddock as the default.
  • This patch affects the make-based building.

This patch has been split from !532.

(cherry picked from commit 33e37d0619a9d1d0b8088a109f7eeb4c6fd21027)

Details

Committed
bgamariJun 12 2019, 7:39 AM
Parents
rGHC5e6f261aee19: testsuite: Mark threadstatus-T9333 as fragile in ghci way
Branches
Unknown
Tags
Unknown