Commit 2a451765 authored by Simon Marlow's avatar Simon Marlow
Browse files

don't rebuild the whole of stage 1 just because the date has changed

parent 7afa90fe
......@@ -404,6 +404,16 @@ compiler/stage3/ : compiler/
compiler_PACKAGE = ghc
# The version of the GHC package changes every day, since the
# patchlevel is the current date. We don't want to force
# recompilation of the entire compiler when this happens, so for stage
# 1 we omit the patchlevel from the version number. For stage 2 we
# have to include the patchlevel since this is the package we install,
# however.
define compiler_PACKAGE_MAGIC
compiler_stage1_VERSION = $(subst .$(ProjectPatchLevel),,$(ProjectVersion))
# haddocking only happens for stage2
compiler_stage1_DO_HADDOCK = NO
compiler_stage3_DO_HADDOCK = NO
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment