[commit: ghc] wip/nfs-locking: Disable library profiling in quick build flavour. (c7a4165)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:24:26 UTC 2017


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

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/c7a41657a0393aa1a1d5d5b7219c0f8c7c2e31dc/ghc

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

commit c7a41657a0393aa1a1d5d5b7219c0f8c7c2e31dc
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Wed Mar 9 23:47:34 2016 +0000

    Disable library profiling in quick build flavour.
    
    See #188.


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

c7a41657a0393aa1a1d5d5b7219c0f8c7c2e31dc
 src/Settings/Flavours/Quick.hs | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/Settings/Flavours/Quick.hs b/src/Settings/Flavours/Quick.hs
index 1f2def1..97af880 100644
--- a/src/Settings/Flavours/Quick.hs
+++ b/src/Settings/Flavours/Quick.hs
@@ -1,9 +1,10 @@
-module Settings.Flavours.Quick (quickFlavourArgs) where
+module Settings.Flavours.Quick (quickFlavourArgs, quickFlavourWays) where
 
 import Expression
 import Predicates (builderGhc)
 
--- TODO: consider putting all flavours in a single file
--- TODO: handle other, non Args, settings affected by flavours
 quickFlavourArgs :: Args
 quickFlavourArgs = builderGhc ? arg "-O0"
+
+quickFlavourWays :: Ways
+quickFlavourWays = remove [profiling]



More information about the ghc-commits mailing list