From ef0a4dd581d51289eb963de756eb524434c39003 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Tue, 11 Aug 2009 22:01:46 +0000 Subject: [PATCH] Skip "Cabal check" for certain packages that we know will fail --- ghc.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ghc.mk b/ghc.mk index de18a69..b33a6b9 100644 --- a/ghc.mk +++ b/ghc.mk @@ -568,6 +568,14 @@ $(foreach lib,$(PACKAGES) $(PACKAGES_STAGE2),$(eval \ libraries/$(lib)_dist-install_DISABLE = YES)) endif +# These packages don't pass the Cabal checks because hs-source-dirs +# points outside the source directory. This isn't a real problem in +# these cases, so we just skip checking them. +CHECKED_libraries/dph/dph-seq = YES +CHECKED_libraries/dph/dph-par = YES +# In compiler's case, include-dirs points outside of the source tree +CHECKED_compiler = YES + include $(patsubst %, %/ghc.mk, $(BUILD_DIRS)) # We need -fno-warn-deprecated-flags to avoid failure with -Werror -- 1.7.10.4