diff options
author | Shayne Fletcher <shayne@shaynefletcher.org> | 2021-06-03 20:34:39 +1000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-06-05 03:47:48 -0400 |
commit | 1713cbb038116c2d703238b47f78c4861232db8e (patch) | |
tree | 9ef7ba336a7c36defe90ce31c5211666f715b47e /ghc.mk | |
parent | 737b0ae194ca33f9bea9a150dada0c933fd75d4d (diff) | |
download | haskell-1713cbb038116c2d703238b47f78c4861232db8e.tar.gz |
Make 'count-deps' a ghc/util standalone program
- Move 'count-deps' into 'ghc/utils' so that it can be called standalone.
- Move 'testsuite/tests/parser/should_run/' tests 'CountParserDeps' and
'CountAstDeps' to 'testsuite/tests/count-deps' and reimplement in terms
of calling the utility
- Document how to use 'count-deps' in 'ghc/utils/count-deps/README'
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -569,6 +569,7 @@ ghc/stage2/package-data.mk: compiler/stage2/package-data.mk utils/haddock/dist/package-data.mk: compiler/stage2/package-data.mk utils/check-ppr/dist-install/package-data.mk: compiler/stage2/package-data.mk utils/check-exact/dist-install/package-data.mk: compiler/stage2/package-data.mk +utils/count-deps/dist-install/package-data.mk: compiler/stage2/package-data.mk # add the final package.conf dependency: ghc-prim depends on RTS libraries/ghc-prim/dist-install/package-data.mk : rts/dist/package.conf.inplace @@ -667,6 +668,7 @@ BUILD_DIRS += utils/ghc-pkg BUILD_DIRS += utils/testremove BUILD_DIRS += utils/check-ppr BUILD_DIRS += utils/check-exact +BUILD_DIRS += utils/count-deps BUILD_DIRS += utils/ghc-cabal BUILD_DIRS += utils/hpc BUILD_DIRS += utils/runghc @@ -709,6 +711,7 @@ ifneq "$(CrossCompiling) $(Stage1Only)" "NO NO" # See Note [Stage1Only vs stage=1] in mk/config.mk.in. BUILD_DIRS := $(filter-out utils/check-ppr,$(BUILD_DIRS)) BUILD_DIRS := $(filter-out utils/check-exact,$(BUILD_DIRS)) +BUILD_DIRS := $(filter-out utils/count-deps,$(BUILD_DIRS)) endif endif # CLEANING |