#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.8.1     
 Severity:  normal    |     Resolution:            
 Keywords:            |     Difficulty:  Unknown   
 Testcase:            |   Architecture:  Unknown   
       Os:  Unknown   |  
----------------------+-----------------------------------------------------
Comment (by simonmar):

 Yes, we could force a clean if the `package.conf` has changed.  One reason
 I didn't want to go this route was that it doesn't help if you're using
 `setup register --in-place`, where you don't actually need to register
 after building a package.  But I guess you aren't doing that, so depending
 on the modification time of `package.conf` would work for you.

 A workaround is to use `-fomit-interface-pragmas` when compiling xmonad,
 BTW.  That will affect inter-module optimisations, though.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1372#comment:23>
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