[commit: ghc] wip/nfs-locking: Run ranlib directly (e91b0c2)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:56:50 UTC 2017


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

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

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

commit e91b0c248df89e26d56bd5c34a48fa4e1aebacbb
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Fri Aug 18 02:59:59 2017 +0100

    Run ranlib directly


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

e91b0c248df89e26d56bd5c34a48fa4e1aebacbb
 src/Rules/Install.hs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/Rules/Install.hs b/src/Rules/Install.hs
index e3f7fe6..12135b4 100644
--- a/src/Rules/Install.hs
+++ b/src/Rules/Install.hs
@@ -281,8 +281,7 @@ installLibsTo libs dir = do
            ".a" -> do
                let out = dir -/- takeFileName lib
                installData [out] dir
-               -- TODO: Get rid of meaningless context for certain builder like ranlib
-               build $ target (stageContext Stage0) Ranlib [out] [out]
+               runBuilder Ranlib [out]
            _ -> installData [lib] dir
 
 -- ref: includes/ghc.mk



More information about the ghc-commits mailing list