Commit b51f9ecd authored by Takenobu Tani's avatar Takenobu Tani Committed by Ben Gamari
Browse files

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.

(cherry picked from commit 43a39c3c)
parent c4b501b1
......@@ -29,7 +29,6 @@ cat <<EOF >> mk/build.mk
BuildFlavour=$BUILD_FLAVOUR
ifneq "\$(BuildFlavour)" ""
include mk/flavours/\$(BuildFlavour).mk
GhcLibHcOpts+=-haddock
endif
EOF
......
SRC_HC_OPTS = -O -H64m
GhcStage1HcOpts = -O
GhcStage2HcOpts = -O2
GhcLibHcOpts = -O2
GhcLibHcOpts = -O2 -haddock
BUILD_PROF_LIBS = YES
#SplitObjs
#HADDOCK_DOCS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment