[commit: ghc] wip/nfs-locking: Add ghcautoconf, ghcplatform as rtsConf dependencies (122a01d)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:51:52 UTC 2017


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

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

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

commit 122a01d4350e0c8888a0bc0007f2edfccaf87f47
Author: Moritz Angermann <moritz.angermann at gmail.com>
Date:   Sun Jan 3 12:41:28 2016 +0800

    Add ghcautoconf, ghcplatform as rtsConf dependencies
    
    This fixes #76.


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

122a01d4350e0c8888a0bc0007f2edfccaf87f47
 src/Rules/Data.hs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/Rules/Data.hs b/src/Rules/Data.hs
index 00f6368..84ac619 100644
--- a/src/Rules/Data.hs
+++ b/src/Rules/Data.hs
@@ -99,7 +99,9 @@ buildPackageData rs target @ (PartialTarget stage pkg) = do
                     fullTarget target (GhcPkg stage) [rtsConf] []
 
             rtsConf %> \_ -> do
-                need [rtsConfIn]
+                need [rtsConfIn
+                     , "includes/ghcautoconf.h"
+                     , "includes/ghcplatform.h" ]
                 build $ fullTarget target HsCpp [rtsConfIn] [rtsConf]
                 old <- liftIO $ readFile rtsConf
                 let new = unlines . map (replace "\"\"" "")



More information about the ghc-commits mailing list