[commit: ghc] master: Add -dno-debug-output to validate GhcStage1HcOpts (c02d03d)
git at git.haskell.org
git at git.haskell.org
Mon Mar 6 18:38:49 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/c02d03de839c4ee0acbd52dad575bc5e27972595/ghc
>---------------------------------------------------------------
commit c02d03de839c4ee0acbd52dad575bc5e27972595
Author: Matthew Pickering <matthewtpickering at gmail.com>
Date: Sat Mar 4 16:52:05 2017 -0500
Add -dno-debug-output to validate GhcStage1HcOpts
This flag only affects whether WARNs are printed to the build log.
ASSERT fails will still be printed and cause an abort.
Most of the WARNs in the compiler are speculative and meant to help with
debugging rather than indicative of any real errors. This causes
a lot of noise in the build log which is not helpful and makes them very
long.
Test Plan: Check that the build log is less than 27000 lines long
Reviewers: austin, bgamari, rwbarton
Reviewed By: bgamari
Subscribers: thomie, snowleopard
Differential Revision: https://phabricator.haskell.org/D3213
>---------------------------------------------------------------
c02d03de839c4ee0acbd52dad575bc5e27972595
mk/flavours/validate.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mk/flavours/validate.mk b/mk/flavours/validate.mk
index 5783103..2ff7c20 100644
--- a/mk/flavours/validate.mk
+++ b/mk/flavours/validate.mk
@@ -1,8 +1,8 @@
SRC_HC_OPTS = -O0 -H64m
SRC_HC_OPTS_STAGE1 = -fllvm-fill-undef-with-garbage # See Trac 11487
GhcStage1HcOpts = -O -DDEBUG
-GhcStage2HcOpts = -O -dcore-lint
-GhcLibHcOpts = -O -dcore-lint
+GhcStage2HcOpts = -O -dcore-lint -dno-debug-output
+GhcLibHcOpts = -O -dcore-lint -dno-debug-output
BUILD_PROF_LIBS = NO
SplitObjs = NO
SplitSections = NO
More information about the ghc-commits
mailing list