[commit: ghc] wip/nfs-locking: Build runGhc executable (b2f49f0)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:25:33 UTC 2017


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

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

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

commit b2f49f06bbcda51400711d6370d1a276f01087da
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Sun Oct 23 02:35:58 2016 +0100

    Build runGhc executable


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

b2f49f06bbcda51400711d6370d1a276f01087da
 src/GHC.hs | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/GHC.hs b/src/GHC.hs
index 3521e54..7cabff5 100644
--- a/src/GHC.hs
+++ b/src/GHC.hs
@@ -114,6 +114,9 @@ programPath context at Context {..}
     | package == hpcBin = case stage of
         Stage1 -> Just $ inplaceProgram "hpc"
         _      -> Nothing
+    | package == runGhc = case stage of
+        Stage1 -> Just $ inplaceProgram "runhaskell"
+        _      -> Nothing
     | isProgram package = case stage of
         Stage0 -> Just . inplaceProgram $ pkgNameString package
         _      -> Just . installProgram $ pkgNameString package



More information about the ghc-commits mailing list