diff options
author | Ian Lynagh <igloo@earth.li> | 2011-08-30 21:49:00 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-08-30 21:49:00 +0100 |
commit | 96adae69dbfe6fd7806ac2dc82e9f174ea50085d (patch) | |
tree | f7335037dc1c6d41d8149dafff15dd5ae5d435e5 /mk | |
parent | 067f29b4121338eff7e5bda4987aa32d464121d1 (diff) | |
download | haskell-96adae69dbfe6fd7806ac2dc82e9f174ea50085d.tar.gz |
Turn off lax dependencies by default
Diffstat (limited to 'mk')
-rw-r--r-- | mk/build.mk.sample | 2 | ||||
-rw-r--r-- | mk/config.mk.in | 20 |
2 files changed, 15 insertions, 7 deletions
diff --git a/mk/build.mk.sample b/mk/build.mk.sample index 5b31c97470..10ab7afc76 100644 --- a/mk/build.mk.sample +++ b/mk/build.mk.sample @@ -117,6 +117,7 @@ HADDOCK_DOCS = NO BUILD_DOCBOOK_HTML = NO BUILD_DOCBOOK_PS = NO BUILD_DOCBOOK_PDF = NO +LAX_DEPENDENCIES = YES endif @@ -133,6 +134,7 @@ HADDOCK_DOCS = NO BUILD_DOCBOOK_HTML = NO BUILD_DOCBOOK_PS = NO BUILD_DOCBOOK_PDF = NO +LAX_DEPENDENCIES = YES # After stage 1 and the libraries have been built, you can uncomment this line: diff --git a/mk/config.mk.in b/mk/config.mk.in index ace193bd6d..17782dac5f 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -331,16 +331,22 @@ 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 +# packages may be configured differently). By default we therefore +# have dependencies on the compiler executable. + +# However, in practice, having a 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 setting LAX_DEPENDENCIES +# to YES you can turn these dependencies into order-only dependencies, +# i.e. GHC must exist, but if it's newer than other targets then # rebuilding is not necessary. -LAX_DEPENDENCIES = YES + +LAX_DEPENDENCIES = NO # ---------------------------------------------------------------------------- # Options for GHC's RTS |