[commit: ghc] wip/nfs-locking: Add GhcLink builder. (49dfde7)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:40:22 UTC 2017


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

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

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

commit 49dfde799495f1d8bfdc2a891bc6e930879a855e
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Wed Dec 9 01:57:52 2015 +0000

    Add GhcLink builder.


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

49dfde799495f1d8bfdc2a891bc6e930879a855e
 src/Builder.hs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/Builder.hs b/src/Builder.hs
index c0ffee0..67be69f 100644
--- a/src/Builder.hs
+++ b/src/Builder.hs
@@ -25,6 +25,7 @@ data Builder = Alex
              | Ghc Stage
              | GhcCabal
              | GhcCabalHsColour
+             | GhcLink Stage
              | GhcM Stage
              | GhcPkg Stage
              | GhcSplit
@@ -50,6 +51,7 @@ builderKey builder = case builder of
     Ghc Stage1       -> "ghc-stage1"
     Ghc Stage2       -> "ghc-stage2"
     Ghc Stage3       -> "ghc-stage3"
+    GhcLink stage    -> builderKey $ Ghc stage -- using Ghc as linker
     GhcM stage       -> builderKey $ Ghc stage -- synonym for 'Ghc -M'
     GhcCabal         -> "ghc-cabal"
     GhcCabalHsColour -> builderKey $ GhcCabal -- synonym for 'GhcCabal hscolour'



More information about the ghc-commits mailing list