[commit: ghc] wip/nfs-locking: Drop configureIntGmpArguments. (cc10288)

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


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

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

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

commit cc102887b32e84005d553c4adbef1ca5f5c43a1a
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Thu Feb 11 01:51:10 2016 +0000

    Drop configureIntGmpArguments.
    
    See #159.


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

cc102887b32e84005d553c4adbef1ca5f5c43a1a
 src/Rules/Gmp.hs | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/Rules/Gmp.hs b/src/Rules/Gmp.hs
index 4c7a480..9916ad6 100644
--- a/src/Rules/Gmp.hs
+++ b/src/Rules/Gmp.hs
@@ -53,13 +53,6 @@ configureArguments = do
            , "--host=" ++ hostPlatform
            , "--build=" ++ buildPlatform]
 
-configureIntGmpArguments :: Action [String]
-configureIntGmpArguments = do
-    includes      <- setting GmpIncludeDir
-    libs          <- setting GmpLibDir
-    return $ map ("--with-gmp-includes="  ++) (words includes)
-          ++ map ("--with-gmp-libraries=" ++) (words libs)
-
 -- TODO: we rebuild gmp every time.
 gmpRules :: Rules ()
 gmpRules = do



More information about the ghc-commits mailing list