summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-08-11 21:25:59 +0000
committerIan Lynagh <igloo@earth.li>2009-08-11 21:25:59 +0000
commitd4f9480c7e7bf8167a97ff964f9d85400398c5c4 (patch)
treef8ed0c1ddc3fe2e3dd9b370e8ff8ab0ce61fb30a /mk
parent0be79fa683f2caabb7c3a853f1f893e57e4abd34 (diff)
downloadhaskell-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.in2
-rw-r--r--mk/validate-settings.mk2
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