[commit: ghc] master: Pass -v0 to ghc-pkg to reduce noise in build ouput (015e97a)

git at git.haskell.org git at git.haskell.org
Wed Feb 8 03:40:43 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/015e97afd43a1b1762e1d6eef5d904c904e82965/ghc

>---------------------------------------------------------------

commit 015e97afd43a1b1762e1d6eef5d904c904e82965
Author: Matthew Pickering <matthewtpickering at gmail.com>
Date:   Tue Feb 7 21:39:02 2017 -0500

    Pass -v0 to ghc-pkg to reduce noise in build ouput
    
    By default ghc-pkg is quite noisy as it can't find interface files.
    
    Test Plan:
    Look at the build log stderr and see if there are lots of "cannot find
    any of" errors.
    
    Reviewers: austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: thomie, snowleopard
    
    Differential Revision: https://phabricator.haskell.org/D3103


>---------------------------------------------------------------

015e97afd43a1b1762e1d6eef5d904c904e82965
 rules/build-package-data.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/build-package-data.mk b/rules/build-package-data.mk
index e340c8b..8f3a8e7 100644
--- a/rules/build-package-data.mk
+++ b/rules/build-package-data.mk
@@ -129,7 +129,7 @@ endif
 endif
 	"$$(ghc-cabal_INPLACE)" configure $1 $2 "$$($1_$2_dll0_MODULES)" --with-ghc="$$($1_$2_HC_CONFIG)" --with-ghc-pkg="$$($1_$2_GHC_PKG)" $$($1_CONFIGURE_OPTS) $$($1_$2_CONFIGURE_OPTS)
 ifeq "$$($1_$2_PROG)" ""
-	$$(call cmd,$1_$2_GHC_PKG) update --force $$($1_$2_GHC_PKG_OPTS) $1/$2/inplace-pkg-config
+	$$(call cmd,$1_$2_GHC_PKG) update -v0 --force $$($1_$2_GHC_PKG_OPTS) $1/$2/inplace-pkg-config
 endif
 endif # NO_GENERATED_MAKEFILE_RULES
 endif # BINDIST



More information about the ghc-commits mailing list