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

git at git.haskell.org git at git.haskell.org
Fri Jul 11 14:44:24 UTC 2014


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

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

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

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

    Pass -DDEBUG when requested


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

c86cd1a8d49711189ff834e425b73d3f6369523c
 .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