[commit: ghc] wip/marge_bot_batch_merge_job: Hadrian: compile libgmp static on Windows (1913872)

git at git.haskell.org git at git.haskell.org
Thu Feb 7 17:11:55 UTC 2019


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

On branch  : wip/marge_bot_batch_merge_job
Link       : http://ghc.haskell.org/trac/ghc/changeset/1913872c7673d57a2103c96f5ed76ca00a8d3478/ghc

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

commit 1913872c7673d57a2103c96f5ed76ca00a8d3478
Author: Tamar Christina <tamar at zhox.com>
Date:   Sun Jan 27 21:30:50 2019 +0000

    Hadrian: compile libgmp static on Windows


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

1913872c7673d57a2103c96f5ed76ca00a8d3478
 hadrian/src/Settings/Packages.hs | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hadrian/src/Settings/Packages.hs b/hadrian/src/Settings/Packages.hs
index 4be0fba..e261dfe 100644
--- a/hadrian/src/Settings/Packages.hs
+++ b/hadrian/src/Settings/Packages.hs
@@ -137,6 +137,9 @@ packageArgs = do
 
           , builder (Cabal Setup) ? mconcat
             [ flag GmpInTree ? arg "--configure-option=--with-intree-gmp"
+            -- Windows is always built with inplace GMP until we have dynamic
+            -- linking working.
+            , windowsHost  ? arg "--configure-option=--with-intree-gmp"
             , flag GmpFrameworkPref ?
               arg "--configure-option=--with-gmp-framework-preferred"
             , arg ("--configure-option=CFLAGS=" ++ includeGmp)



More information about the ghc-commits mailing list