[GHC] #16253: Offer a shorthand for `--skip=_build/stage$n/compiler/.dependencies.mk`
GHC
ghc-devs at haskell.org
Tue Jan 29 11:49:49 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 snowleopard):
> Would that solve the problem?
Yes, switching to per-file dependencies in Hadrian would be easy if we had
such flag.
However, per-package vs per-file is a bit of a trade-off. Per-package
analysis will likely be faster for the full build (you do analysis only
once instead of for each file separately), whereas per-file analysis will
be faster for incremental builds. (It is likely that the reduction of
performance for the full build when switching to the per-file approach
will be negligible, but we'll need to check this.)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16253#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list