[commit: ghc] master: ghc.mk: Update instances of -auto-all (df63736)
git at git.haskell.org
git at git.haskell.org
Tue Jun 16 17:59:12 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/df63736341d8b92c0f7f0012bf88929e32a1403f/ghc
>---------------------------------------------------------------
commit df63736341d8b92c0f7f0012bf88929e32a1403f
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Tue Jun 16 19:53:14 2015 +0200
ghc.mk: Update instances of -auto-all
-auto-all is now -fprof-auto.
Reviewed By: austin
Differential Revision: https://phabricator.haskell.org/D989
>---------------------------------------------------------------
df63736341d8b92c0f7f0012bf88929e32a1403f
compiler/ghc.mk | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/compiler/ghc.mk b/compiler/ghc.mk
index f6ed9c2..0c02f49 100644
--- a/compiler/ghc.mk
+++ b/compiler/ghc.mk
@@ -384,13 +384,13 @@ ifeq "$(GhcProfiled)" "YES"
# everywhere tends to give a hard-to-read profile, and adds lots of
# overhead. A better approach is to proceed top-down; identify the
# parts of the compiler of interest, and then add further cost centres
-# as necessary. Turn on -auto-all for individual modules like this:
+# as necessary. Turn on -fprof-auto for individual modules like this:
-# compiler/main/DriverPipeline_HC_OPTS += -auto-all
-compiler/main/GhcMake_HC_OPTS += -auto-all
-compiler/main/GHC_HC_OPTS += -auto-all
+# compiler/main/DriverPipeline_HC_OPTS += -fprof-auto
+compiler/main/GhcMake_HC_OPTS += -fprof-auto
+compiler/main/GHC_HC_OPTS += -fprof-auto
-# or alternatively add {-# OPTIONS_GHC -auto-all #-} to the top of
+# or alternatively add {-# OPTIONS_GHC -fprof-auto #-} to the top of
# modules you're interested in.
# We seem to still build the vanilla libraries even if we say
More information about the ghc-commits
mailing list