X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=mk%2Fvalidate-settings.mk;h=e250fa6fb42515ff20e31e3c13bcd2d63e323e17;hp=56acca4e8740a2cdf3bde6b88b7d3bdd9253f58d;hb=e5c3b478b3cd1707cf122833822f44b2ac09b8e9;hpb=b9c34f4729c68fbe278cd69050d7a429c75b29b2 diff --git a/mk/validate-settings.mk b/mk/validate-settings.mk index 56acca4..e250fa6 100644 --- a/mk/validate-settings.mk +++ b/mk/validate-settings.mk @@ -23,7 +23,7 @@ STRIP_CMD = : CHECK_PACKAGES = YES # We want to install DPH when validating, so that we can test it -InstallExtraPackages = YES +InstallExtraPackages = YES # dblatex with miktex under msys/mingw can't build the PS and PDF docs, # and just building the HTML docs is sufficient to check that the @@ -36,8 +36,7 @@ ifeq "$(ValidateHpc)" "YES" GhcStage2HcOpts += -fhpc -hpcdir $(TOP)/testsuite/hpc_output/ endif ifeq "$(ValidateSlow)" "YES" -GhcStage2HcOpts += -XGenerics -DDEBUG -GhcLibHcOpts += -XGenerics +GhcStage2HcOpts += -DDEBUG endif ###################################################################### @@ -62,6 +61,15 @@ libraries/haskeline_dist-install_EXTRA_HC_OPTS += -fno-warn-unused-imports libraries/binary_dist-boot_EXTRA_HC_OPTS += -fno-warn-unused-imports libraries/binary_dist-install_EXTRA_HC_OPTS += -fno-warn-unused-imports -fno-warn-identities +# Temporarily turn off -Werror for some Hoopl modules that have +# non-exhaustive pattern-match warnings +libraries/hoopl/src/Compiler/Hoopl/Util_HC_OPTS += -Wwarn +libraries/hoopl/src/Compiler/Hoopl/GraphUtil_HC_OPTS += -Wwarn +libraries/hoopl/src/Compiler/Hoopl/MkGraph_HC_OPTS += -Wwarn +libraries/hoopl/src/Compiler/Hoopl/XUtil_HC_OPTS += -Wwarn +libraries/hoopl/src/Compiler/Hoopl/Pointed_HC_OPTS += -Wwarn +libraries/hoopl/src/Compiler/Hoopl/Passes/Dominator_HC_OPTS += -Wwarn + # primitive has a warning about deprecated use of GHC.IOBase libraries/primitive_dist-install_EXTRA_HC_OPTS += -Wwarn