[commit: ghc] wip/nfs-locking: Fix validate's dependency on generated files (#362) (31f9640)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 01:19:57 UTC 2017


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

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

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

commit 31f9640125cf74dd96b1c210143cb3772656bd35
Author: Zhen Zhang <izgzhen at gmail.com>
Date:   Sat Jul 15 21:02:05 2017 +0800

    Fix validate's dependency on generated files (#362)


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

31f9640125cf74dd96b1c210143cb3772656bd35
 src/Rules/Test.hs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/Rules/Test.hs b/src/Rules/Test.hs
index 08eca05..fc059ab 100644
--- a/src/Rules/Test.hs
+++ b/src/Rules/Test.hs
@@ -5,6 +5,7 @@ import Builder
 import Expression
 import Flavour
 import GHC
+import qualified Rules.Generate
 import Oracles.Config.Flag
 import Oracles.Config.Setting
 import Oracles.Path
@@ -16,6 +17,7 @@ import Util
 testRules :: Rules ()
 testRules = do
     "validate" ~> do
+        need $ Rules.Generate.inplaceLibCopyTargets
         needBuilder $ Ghc CompileHs Stage2
         needBuilder $ GhcPkg Update Stage1
         needBuilder Hpc



More information about the ghc-commits mailing list