[commit: ghc] wip/nfs-locking: Install rule: copy gmp header (#398) (8972c19)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:40:32 UTC 2017


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

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

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

commit 8972c19ff590b61510677ea4057c2021869c4a74
Author: Zhen Zhang <izgzhen at gmail.com>
Date:   Wed Aug 23 18:51:25 2017 +0800

    Install rule: copy gmp header (#398)


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

8972c19ff590b61510677ea4057c2021869c4a74
 src/Rules/Install.hs | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/Rules/Install.hs b/src/Rules/Install.hs
index 0d7336b..4858f40 100644
--- a/src/Rules/Install.hs
+++ b/src/Rules/Install.hs
@@ -185,6 +185,9 @@ installPackages = do
 
     installLibPkgs <- topsortPackages (filter isLibrary activePackages)
 
+    -- TODO (izgzhen): figure out what is the root cause of the missing ghc-gmp.h error
+    copyFile (pkgPath integerGmp -/- "gmp/ghc-gmp.h") (pkgPath integerGmp -/- "ghc-gmp.h")
+
     forM_ installLibPkgs $ \pkg -> do
         when (isLibrary pkg) $
             withLatestBuildStage pkg $ \stage -> do



More information about the ghc-commits mailing list