[commit: ghc] wip/T15449, wip/T16188, wip/llvm-configure-opts: Hadrian: compile libgmp static on Windows (bac64c3)

git at git.haskell.org git at git.haskell.org
Sun Feb 10 21:30:08 UTC 2019


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

On branches: wip/T15449,wip/T16188,wip/llvm-configure-opts
Link       : http://ghc.haskell.org/trac/ghc/changeset/bac64c3253c66f9f95a6e5476ccb6a47badc6e1c/ghc

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

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

    Hadrian: compile libgmp static on Windows


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

bac64c3253c66f9f95a6e5476ccb6a47badc6e1c
 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