[commit: ghc] wip/nfs-locking: Attempt to optimise ghc-stage2 in Quick flavour (b299acb)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 01:05:02 UTC 2017


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

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

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

commit b299acb4ec05bbf8a3b08a67175f8b2eb2f2aded
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Tue Jun 21 01:56:20 2016 +0100

    Attempt to optimise ghc-stage2 in Quick flavour
    
    See #259


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

b299acb4ec05bbf8a3b08a67175f8b2eb2f2aded
 src/Settings/Flavours/Quick.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Settings/Flavours/Quick.hs b/src/Settings/Flavours/Quick.hs
index 81fe178..834a72b 100644
--- a/src/Settings/Flavours/Quick.hs
+++ b/src/Settings/Flavours/Quick.hs
@@ -5,7 +5,7 @@ import GHC
 import Predicate
 
 optimise :: Context -> Bool
-optimise Context {..} = stage == Stage0 && package `elem` [compiler, ghc]
+optimise Context {..} = package `elem` [compiler, ghc]
                      || stage == Stage1 && isLibrary package
 
 quickFlavourArgs :: Args



More information about the ghc-commits mailing list