#1372: Recompilation checker should consider package versions (and other
factors)
-------------------------+--------------------------------------------------
Reporter: bringert | Owner: simonmar
Type: bug | Status: new
Priority: normal | Milestone: 6.8 branch
Component: Compiler | Version: 6.6
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Unknown | Testcase:
Architecture: Unknown |
-------------------------+--------------------------------------------------
Comment (by duncan):
Replying to [comment:15 simonmar]:
>
> This would be pretty easy to do in Cabal as it stands, right? I can
submit a patch if you agree.
To reconfigure automatically you mean? or just tell users they need to
reconfigure? The latter would be easy and I'd gladly accept a patch to do
that.
> To be conservative and still not invoke GHC on every file, you'd have to
check the modification times on the `.hi` files of all package
dependencies (possibly all the `.hi` files rather than just the ones that
are directly imported, I'm not sure).
Checking modification times is cheap.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1372#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs