Add --slow (and --fast) options to validate
[ghc-hetmet.git] / mk / validate-settings.mk
1
2 WERROR          = -Werror
3
4 HADDOCK_DOCS    = YES
5 SRC_CC_OPTS     = $(WERROR)
6 SRC_HC_OPTS     = $(WERROR) -H64m -O0 -fasm
7 GhcStage1HcOpts = -O -fasm
8
9 GhcStage2HcOpts = -O0 -fasm
10 GhcLibHcOpts    = -O -fasm -dcore-lint
11 GhcLibWays      =
12 SplitObjs       = NO
13 NoFibWays       =
14 STRIP           = :
15 GhcBootLibs     = YES
16
17 ifeq "$(ValidateHpc)" "YES"
18 GhcStage2HcOpts += -fhpc -hpcdir $(FPTOOLS_TOP_ABS)/testsuite/hpc_output/
19 endif
20 ifeq "$(ValidateSlow)" "YES"
21 GhcStage2HcOpts += -XGenerics -DDEBUG
22 GhcLibHcOpts    += -XGenerics
23 endif
24