summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2017-03-04 16:52:05 -0500
committerBen Gamari <ben@smart-cactus.org>2017-03-06 12:19:49 -0500
commitc02d03de839c4ee0acbd52dad575bc5e27972595 (patch)
treed3208be1e2cff6254a2a6f07522ab6efa0c25434 /mk
parent29b6845e2a9a375ce8095946ac107f733835c45a (diff)
downloadhaskell-c02d03de839c4ee0acbd52dad575bc5e27972595.tar.gz
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
Diffstat (limited to 'mk')
-rw-r--r--mk/flavours/validate.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/flavours/validate.mk b/mk/flavours/validate.mk
index 57831035d7..2ff7c20e2d 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