diff options
author | Ian Lynagh <igloo@earth.li> | 2009-08-11 21:25:59 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-08-11 21:25:59 +0000 |
commit | d4f9480c7e7bf8167a97ff964f9d85400398c5c4 (patch) | |
tree | f8ed0c1ddc3fe2e3dd9b370e8ff8ab0ce61fb30a /mk | |
parent | 0be79fa683f2caabb7c3a853f1f893e57e4abd34 (diff) | |
download | haskell-d4f9480c7e7bf8167a97ff964f9d85400398c5c4.tar.gz |
Check Cabal packages when validating
This checks that hackage would accept the packages.
Currently warnings are printed, but don't result in failure.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/config.mk.in | 2 | ||||
-rw-r--r-- | mk/validate-settings.mk | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in index 5e8e265e88..e6140d234b 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -325,6 +325,8 @@ DotnetSupport=NO # GhcLibsWithUnix=@GhcLibsWithUnix@ +CHECK_PACKAGES = NO + # ---------------------------------------------------------------------------- # Options for GHC's RTS diff --git a/mk/validate-settings.mk b/mk/validate-settings.mk index 6964bed755..b70a0454de 100644 --- a/mk/validate-settings.mk +++ b/mk/validate-settings.mk @@ -20,6 +20,8 @@ SplitObjs = NO NoFibWays = STRIP = : +CHECK_PACKAGES = YES + ifeq "$(ValidateHpc)" "YES" GhcStage2HcOpts += -fhpc -hpcdir $(TOP)/testsuite/hpc_output/ endif |