[commit: ghc] wip/nfs-locking: Adds ghcversion and derivedconstants to rts (25b2408)
git at git.haskell.org
git at git.haskell.org
Fri Oct 27 00:22:01 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/nfs-locking
Link : http://ghc.haskell.org/trac/ghc/changeset/25b2408edd914c06d2e25f16bde711e54a548f2c/ghc
>---------------------------------------------------------------
commit 25b2408edd914c06d2e25f16bde711e54a548f2c
Author: Moritz Angermann <moritz.angermann at gmail.com>
Date: Sun Jan 3 12:42:27 2016 +0800
Adds ghcversion and derivedconstants to rts
Fixes #77 and fixes #76 (ghcverison).
>---------------------------------------------------------------
25b2408edd914c06d2e25f16bde711e54a548f2c
src/Rules/Generate.hs | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/Rules/Generate.hs b/src/Rules/Generate.hs
index e14b941..299f79a 100644
--- a/src/Rules/Generate.hs
+++ b/src/Rules/Generate.hs
@@ -62,6 +62,9 @@ generatedDependencies stage pkg
, "includes/ghcplatform.h" ]
| pkg == rts = let buildPath = targetPath stage rts -/- "build"
in
+ [ "includes/ghcversion.h" -- missing only in stage1. See #76
+ , derivedConstantsPath -/- "DerivedConstants.h" ]
+ ++
fmap (buildPath -/-) ["ffi.h", "ffitarget.h"]
| otherwise = []
More information about the ghc-commits
mailing list