#1372: Recompilation checker should consider package versions (and other 
factors)
-------------------------+--------------------------------------------------
    Reporter:  bringert  |        Owner:         
        Type:  bug       |       Status:  new    
    Priority:  normal    |    Milestone:  6.10   
   Component:  Compiler  |      Version:  6.6    
    Severity:  normal    |   Resolution:         
    Keywords:            |   Difficulty:  Unknown
          Os:  Unknown   |     Testcase:         
Architecture:  Unknown   |  
-------------------------+--------------------------------------------------
Changes (by simonmar):

  * milestone:  => 6.10
  * summary:  Recompilation checker should consider package versions =>
              Recompilation checker should consider package
              versions (and other factors)

Comment:

 Some comments following discussion with bringert on IRC:

 There's a more general underlying problem here.  We should trigger
 recompilation if the results could be in any way different to what we got
 before.  Ways in which the results could be different, that we don't
 currently track:

  * the package flags are different and/or the set of exposed packages has
 changed
  * header files that are `#included` (with `-cpp`) have changed
  * any flags that may affect the compilation results are different
  * the state of the world has changed at all (with `-fth`, see #481).

 It's obviously not practical to cover all the possibilities here, but we
 could do better than we currently are.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1372>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to