diff options
author | Ian Lynagh <igloo@earth.li> | 2011-08-28 12:23:04 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-08-28 12:23:04 +0100 |
commit | 12646a9c0f748da67098d9da3f357a756fd7df7c (patch) | |
tree | 534b24e66e7909a9e922874093c715988341be6a /mk/config.mk.in | |
parent | 3a6120a279aa290e98a42f4c955ac5a1de781cec (diff) | |
download | haskell-12646a9c0f748da67098d9da3f357a756fd7df7c.tar.gz |
By default, be lax about dependencies on GHC
There are a number of things which technically depend on GHC (e.g. if
ghc changes then Haskell files may be compiled differently, or Cabal
packages may be configured differently). However, in practice, having
a real dependency on GHC is just a pain: We normally don't want to
spend time recompiling other things while we're working on the
compiler, and even if we did, GHC will normally decide compilation
isn't needed anyway. So by default we use order-only dependencies on
GHC, i.e. GHC must exist, but if it's newer than other targets then
rebuilding is not necessary.
Diffstat (limited to 'mk/config.mk.in')
-rw-r--r-- | mk/config.mk.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in index 873205cdc9..ace193bd6d 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -331,6 +331,17 @@ InstallExtraPackages = NO # Run "ghc-pkg check" on each package CHECK_PACKAGES = NO +# There are a number of things which technically depend on GHC (e.g. if +# ghc changes then Haskell files may be compiled differently, or Cabal +# packages may be configured differently). However, in practice, having +# a real dependency on GHC is just a pain: We normally don't want to +# spend time recompiling other things while we're working on the +# compiler, and even if we did, GHC will normally decide compilation +# isn't needed anyway. So by default we use order-only dependencies on +# GHC, i.e. GHC must exist, but if it's newer than other targets then +# rebuilding is not necessary. +LAX_DEPENDENCIES = YES + # ---------------------------------------------------------------------------- # Options for GHC's RTS |