[GHC] #16253: Offer a shorthand for `--skip=_build/stage$n/compiler/.dependencies.mk`
GHC
ghc-devs at haskell.org
Tue Jan 29 10:45:01 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):
Simon: this is expected behaviour in this case. Dependency analysis of
Haskell sources is performed on per package (not per file) basis, in one
go. Whenever a single source file is changed, we invoke `ghc -M` on the
whole package, which can take a while for a large package.
This is how Make works too, but it often disables the tracking mechanism,
which may lead to incorrect build results but is fast.
Perhaps, we could/should switch to dependency analysis on the per-file
basis (as we do with C sources), which would directly address this
particular ticket without introducing yet another way to disable tracking.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16253#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list