[commit: ghc] wip/nfs-locking: Fix validate's hsc2hs dependency (#375) (#378) (fd5cd07)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:35:38 UTC 2017


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

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

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

commit fd5cd0756dd1d9a0071c4f3378e6c64cee0e2f63
Author: Zhen Zhang <izgzhen at gmail.com>
Date:   Mon Jul 24 02:08:42 2017 +0800

    Fix validate's hsc2hs dependency (#375) (#378)


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

fd5cd0756dd1d9a0071c4f3378e6c64cee0e2f63
 src/Rules/Test.hs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/Rules/Test.hs b/src/Rules/Test.hs
index 0f46f6c..5f6d678 100644
--- a/src/Rules/Test.hs
+++ b/src/Rules/Test.hs
@@ -22,8 +22,9 @@ testRules = do
         needBuilder $ Ghc CompileHs Stage2
         needBuilder $ GhcPkg Update Stage1
         needBuilder Hpc
-        needBuilder Hsc2Hs
-        need ["inplace/bin/hp2ps"] -- TODO: Eliminate explicit filepaths in "need" (#376)
+        need ["inplace/bin/hp2ps", "inplace/bin/hsc2hs"]
+        -- TODO: Eliminate explicit filepaths in "need" (#376)
+        -- FIXME: needBuilder Hsc2Hs doesn't work
         build $ Target (vanillaContext Stage2 compiler) (Make "testsuite/tests") [] []
 
     "test" ~> do



More information about the ghc-commits mailing list