[GHC] #1372: Recompilation checker should consider package
versions (and other factors)
GHC
trac at galois.com
Mon Oct 22 07:23:25 EDT 2007
#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):
Yes, currently Cabal does not notice when the .cabal file has been updated
without doing configure again. So cabal-setup build is not enough, you
have to cabal-setup configure && cabal-setup build. I'd like to include
this feature in the Cabal dependency analysis project, ie it should
automatically rebuild the appropriate things depending on what has been
changed in the .cabal file.
As for Cabal doing dependency analysis for packages, it does not need to
be as accurate as ghc, so long as it is conservatively inaccurate. Then
it'll invoke ghc which might decide that there's nothing to do afterall.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1372#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list