summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorTakenobu Tani <takenobu.hs@gmail.com>2019-04-14 19:11:12 +0900
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-06-02 22:54:43 -0400
commit43a39c3c2195d5b4400efc845a54f153184b1d7f (patch)
treea8e7040f37359b779f2cbb48870d4d83a59da1c9 /mk
parent33e37d0619a9d1d0b8088a109f7eeb4c6fd21027 (diff)
downloadhaskell-43a39c3c2195d5b4400efc845a54f153184b1d7f.tar.gz
Add `-haddock` to perf.mk rather than prepare-system.sh
To cover ci conditions from ghc8.6 to 8.9, I add `-haddock` option to `mk/flavours/perf.mk` rather than `.circleci/prepare-system.sh`. Because in windows condition of ghc-8.9, `mk/flavours/*` is included after `prepare-system.sh`. In addition, in linux condition of ghc-8.6, `mk/flavors/perf.mk` is used.
Diffstat (limited to 'mk')
-rw-r--r--mk/flavours/perf.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/flavours/perf.mk b/mk/flavours/perf.mk
index ee856626ad..93c5919b59 100644
--- a/mk/flavours/perf.mk
+++ b/mk/flavours/perf.mk
@@ -1,7 +1,7 @@
SRC_HC_OPTS = -O -H64m
GhcStage1HcOpts = -O2
GhcStage2HcOpts = -O2
-GhcLibHcOpts = -O2
+GhcLibHcOpts = -O2 -haddock
BUILD_PROF_LIBS = YES
#HADDOCK_DOCS
#BUILD_SPHINX_HTML