[commit: ghc] wip/nfs-locking: Bring back tmp directory for in-tree build artefacts (c93cf69)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:43:57 UTC 2017


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

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

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

commit c93cf69f4cade6af063fcc26ebe13598f0eb9b56
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Sat Oct 29 11:50:13 2016 +0100

    Bring back tmp directory for in-tree build artefacts


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

c93cf69f4cade6af063fcc26ebe13598f0eb9b56
 src/GHC.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/GHC.hs b/src/GHC.hs
index c3242c6..810c63d 100644
--- a/src/GHC.hs
+++ b/src/GHC.hs
@@ -128,7 +128,7 @@ programPath Context {..} = lookup (stage, package) exes
     inplace0 pkg = ((Stage0, pkg), inplace pkg)
     inplace1 pkg = ((Stage1, pkg), inplace pkg)
     inplace2 pkg = ((Stage2, pkg), inplace pkg)
-    install stage pkg = pkgPath package -/- stageDirectory stage -/- "build"
+    install stage pkg = pkgPath package -/- stageDirectory stage -/- "build/tmp"
                                         -/- pkgNameString pkg <.> exe
     install0 pkg = ((Stage0, pkg), install Stage0 pkg)
     install1 pkg = ((Stage1, pkg), install Stage1 pkg)



More information about the ghc-commits mailing list