validate-settings.mk 755 Bytes
Newer Older
1

2 3
WERROR          = -Werror

4
HADDOCK_DOCS    = YES
5
SRC_CC_OPTS     = $(WERROR)
6
SRC_HC_OPTS     = $(WERROR) -H64m -O0 -fasm
7
GhcStage1HcOpts = -O -fasm
8

9
GhcStage2HcOpts = -O -fasm
simonpj@microsoft.com's avatar
simonpj@microsoft.com committed
10 11 12 13
# Using -O (rather than -O0) here bringes my validate down from 22mins to 16 mins.
# Compiling stage2 takes longer, but we gain a faster haddock, faster
# running of the tests, and faster building of the utils to be installed

14
GhcLibHcOpts    = -O -fasm -dcore-lint
15 16
GhcLibWays      =
SplitObjs       = NO
17 18 19
NoFibWays       =
STRIP           = :
GhcBootLibs     = YES
20

21 22 23 24 25 26 27 28
ifeq "$(ValidateHpc)" "YES"
GhcStage2HcOpts += -fhpc -hpcdir $(FPTOOLS_TOP_ABS)/testsuite/hpc_output/
endif
ifeq "$(ValidateSlow)" "YES"
GhcStage2HcOpts += -XGenerics -DDEBUG
GhcLibHcOpts    += -XGenerics
endif