[commit: ghc] wip/nfs-locking: Move checkApiAnnotations, compareSizes and ghcTags to Stage0 (ebee16a)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:49:01 UTC 2017


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

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

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

commit ebee16a9e7d37ea14a2e0cd180c0bf6e88c3873c
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Thu Jan 19 02:46:21 2017 +0000

    Move checkApiAnnotations, compareSizes and ghcTags to Stage0
    
    See #246


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

ebee16a9e7d37ea14a2e0cd180c0bf6e88c3873c
 src/Settings/Default.hs | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/Settings/Default.hs b/src/Settings/Default.hs
index 351d780..318b0a0 100644
--- a/src/Settings/Default.hs
+++ b/src/Settings/Default.hs
@@ -86,6 +86,8 @@ stage0Packages = do
     ios <- lift iosHost
     append $ [ binary
              , cabal
+             , checkApiAnnotations
+             , compareSizes
              , compiler
              , deriveConstants
              , dllSplit
@@ -97,6 +99,7 @@ stage0Packages = do
              , ghcCabal
              , ghci
              , ghcPkg
+             , ghcTags
              , hsc2hs
              , hoopl
              , hp2ps
@@ -118,7 +121,6 @@ stage1Packages = do
                        , base
                        , bytestring
                        , compact
-                       , compareSizes
                        , containers
                        , deepseq
                        , directory
@@ -142,11 +144,7 @@ stage1Packages = do
                        [ xhtml    | doc     ] ]
 
 stage2Packages :: Packages
-stage2Packages = do
-    doc <- buildHaddock flavour
-    append $ [ checkApiAnnotations
-             , ghcTags       ] ++
-             [ haddock | doc ]
+stage2Packages = buildHaddock flavour ? append [ haddock ]
 
 -- | Default build ways for library packages:
 -- * We always build 'vanilla' way.



More information about the ghc-commits mailing list