T4945 is working again
[ghc.git] / mk / validate-settings.mk
1 # DO NOT EDIT! Instead, create a file mk/validate.mk, whose settings will
2 # override these. See also mk/custom-settings.mk.
3
4 WERROR = -Werror
5 HADDOCK_DOCS = YES
6
7 SRC_HC_OPTS += -H64m -O0
8
9 GhcStage1HcOpts += -O
10 GhcStage2HcOpts += -O -dcore-lint
11 # Using -O (rather than -O0) here bringes my validate down from 22mins to 16 mins.
12 # Compiling stage2 takes longer, but we gain a faster haddock, faster
13 # running of the tests, and faster building of the utils to be installed
14
15 GhcLibHcOpts += -O -dcore-lint
16
17 BUILD_PROF_LIBS = NO
18
19 SplitObjs = NO
20 NoFibWays =
21 STRIP_CMD = :
22
23 # We want to install DPH when validating, so that we can test it
24 InstallExtraPackages = YES
25
26 # dblatex with miktex under msys/mingw can't build the PS and PDF docs,
27 # and just building the HTML docs is sufficient to check that the
28 # markup is correct, so we turn off PS and PDF doc building when
29 # validating.
30 BUILD_DOCBOOK_PS = NO
31 BUILD_DOCBOOK_PDF = NO
32
33 ifeq "$(ValidateHpc)" "YES"
34 GhcStage2HcOpts += -fhpc -hpcdir $(TOP)/testsuite/hpc_output/
35 endif
36 ifeq "$(ValidateSpeed)" "SLOW"
37 GhcStage2HcOpts += -DDEBUG
38 endif