[commit: ghc] ghc-7.6: Make .t files when running haddock (1d1062e)
Ian Lynagh
igloo at earth.li
Tue Aug 14 23:18:58 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : ghc-7.6
http://hackage.haskell.org/trac/ghc/changeset/1d1062e9f9c3b35a66d1b4f4f20dd74db83606c5
>---------------------------------------------------------------
commit 1d1062e9f9c3b35a66d1b4f4f20dd74db83606c5
Author: Ian Lynagh <ian at well-typed.com>
Date: Tue Aug 14 18:24:01 2012 +0100
Make .t files when running haddock
These files contain the "+RTS -t --machin-readable" output, so that
we can spot performance regressions.
>---------------------------------------------------------------
rules/haddock.mk | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/rules/haddock.mk b/rules/haddock.mk
index 0fc2043..b5fc63f 100644
--- a/rules/haddock.mk
+++ b/rules/haddock.mk
@@ -57,7 +57,8 @@ endif
$$(foreach opt,$$($1_$2_v_ALL_HC_OPTS),--optghc=$$(opt)) \
$$($1_$2_HADDOCK_FLAGS) $$($1_$2_HADDOCK_OPTS) \
$$($1_$2_HS_SRCS) \
- $$($1_$2_EXTRA_HADDOCK_SRCS)
+ $$($1_$2_EXTRA_HADDOCK_SRCS) \
+ +RTS -t$$@.t --machine-readable
# --no-tmp-comp-dir above is important: it saves a few minutes in a
# validate. This flag lets Haddock use the pre-compiled object files
More information about the Cvs-ghc
mailing list