[GHC] #16253: Offer a shorthand for `--skip=_build/stage$n/compiler/.dependencies.mk`

GHC ghc-devs at haskell.org
Tue Jan 29 11:26:40 UTC 2019


#16253: Offer a shorthand for `--skip=_build/stage$n/compiler/.dependencies.mk`
-------------------------------------+-------------------------------------
        Reporter:  sgraf             |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Build System      |              Version:  8.6.3
  (Hadrian)                          |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 > Perhaps, it's not too difficult to add a more fine-grain dependency
 analysis to GHC, i.e. produce only the list of immediate dependencies of a
 specified module.

 I'm sure it would be hard to have another flag so that `ghc -new-flag
 M.hs` would produce just the immediate dependencies of `M`.  Would that
 solve the problem?

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16253#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list