[commit: ghc] wip/nfs-locking: Add includesDependencies to primops.txt rule. (1329a94)
git at git.haskell.org
git at git.haskell.org
Fri Oct 27 00:45:52 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/nfs-locking
Link : http://ghc.haskell.org/trac/ghc/changeset/1329a948ad88a8dec33834a4394024bae715df3b/ghc
>---------------------------------------------------------------
commit 1329a948ad88a8dec33834a4394024bae715df3b
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date: Tue Feb 2 12:26:45 2016 +0000
Add includesDependencies to primops.txt rule.
Fix #201.
>---------------------------------------------------------------
1329a948ad88a8dec33834a4394024bae715df3b
src/Rules/Generate.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Rules/Generate.hs b/src/Rules/Generate.hs
index d98527c..7538470 100644
--- a/src/Rules/Generate.hs
+++ b/src/Rules/Generate.hs
@@ -134,7 +134,7 @@ generatePackageCode _ target @ (PartialTarget stage pkg) =
-- TODO: needing platformH is ugly and fragile
when (pkg == compiler) $ primopsTxt stage %> \file -> do
- need [platformH stage, primopsSource]
+ need $ [platformH stage, primopsSource] ++ includesDependencies
build $ fullTarget target HsCpp [primopsSource] [file]
-- TODO: why different folders for generated files?
More information about the ghc-commits
mailing list