[commit: ghc] wip/nfs-locking: Packages/Rts: add `linker` to RTS directories (166e3fb)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:16:28 UTC 2017


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

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

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

commit 166e3fb4aa2e8c4040287c1d87bf022b81a07790
Author: Michal Terepeta <michal.terepeta at gmail.com>
Date:   Wed May 25 20:14:33 2016 +0200

    Packages/Rts: add `linker` to RTS directories
    
    Recent commit split off the m32 allocator to `rts/linker/`, which
    broke the build using Hadrian (since it didn't know about the new
    directory). This fixes it.
    
    Signed-off-by: Michal Terepeta <michal.terepeta at gmail.com>


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

166e3fb4aa2e8c4040287c1d87bf022b81a07790
 src/Rules/Data.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Rules/Data.hs b/src/Rules/Data.hs
index 52aac32..6c99113 100644
--- a/src/Rules/Data.hs
+++ b/src/Rules/Data.hs
@@ -104,7 +104,7 @@ buildPackageData context at Context {..} = do
                 orderOnly $ generatedDependencies stage package
                 windows <- windowsHost
                 let prefix = fixKey (buildPath context) ++ "_"
-                    dirs   = [ ".", "hooks", "sm", "eventlog" ]
+                    dirs   = [ ".", "hooks", "sm", "eventlog", "linker" ]
                           ++ [ if windows then "win32" else "posix" ]
                 -- TODO: Adding cmm/S sources to C_SRCS is a hack -- refactor.
                 cSrcs   <- map unifyPath <$>



More information about the ghc-commits mailing list