[commit: ghc] wip/travis: Pass -DDEBUG when requested (5b65b90)

git at git.haskell.org git at git.haskell.org
Sat Jul 12 11:12:29 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/travis
Link       : http://ghc.haskell.org/trac/ghc/changeset/5b65b907b086bf7c9609bd0f514c494c694d41be/ghc

>---------------------------------------------------------------

commit 5b65b907b086bf7c9609bd0f514c494c694d41be
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Fri Jul 11 16:44:20 2014 +0200

    Pass -DDEBUG when requested


>---------------------------------------------------------------

5b65b907b086bf7c9609bd0f514c494c694d41be
 .travis.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.travis.yml b/.travis.yml
index 854c9ab..a74795c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,4 +24,5 @@ install:
  - cabal install happy alex
 script:
  - echo 'V = 0' >> mk/validate.mk # otherwise we hit log file limits on travis.
+ - if [ "$DEBUG_STAGE" = "YES"]; then echo 'GhcStage2HcOpts += -DDEBUG' >> mk/validate.mk; fi
  - PATH=~/.cabal/bin:$PATH ./validate --fast --no-dph



More information about the ghc-commits mailing list