[commit: ghc] wip/nfs-locking: Add GhcM builder. (d2dfdfa)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:13:49 UTC 2017


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

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

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

commit d2dfdfa91578e2e4ce5b5419986ea08c50b39e74
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Fri Jul 24 04:09:40 2015 +0100

    Add GhcM builder.


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

d2dfdfa91578e2e4ce5b5419986ea08c50b39e74
 src/Builder.hs | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/Builder.hs b/src/Builder.hs
index 91c6fa3..33735d3 100644
--- a/src/Builder.hs
+++ b/src/Builder.hs
@@ -28,6 +28,7 @@ data Builder = Ar
              | GhcCabal
              | Gcc Stage
              | Ghc Stage
+             | GhcM Stage
              | GhcPkg Stage
              deriving (Show, Eq, Generic)
 
@@ -48,6 +49,8 @@ builderKey builder = case builder of
     Gcc _         -> "gcc"
     GhcPkg Stage0 -> "system-ghc-pkg"
     GhcPkg _      -> "ghc-pkg"
+    -- GhcM is currently a synonym for Ghc (to be called with -M flag)
+    GhcM stage    -> builderKey $ Ghc stage
 
 builderPath :: Builder -> Action String
 builderPath builder = do



More information about the ghc-commits mailing list