#7414: plugins always trigger recompilation
Reporter:  jwlato                        |          Owner:                      
    Type:  feature request               |         Status:  new                 
Priority:  normal                        |      Component:  Compiler            
 Version:  7.6.1                         |       Keywords:  plugin, 
      Os:  Unknown/Multiple              |   Architecture:  Unknown/Multiple    
 Failure:  Compile-time performance bug  |      Blockedby:                      
Blocking:                                |        Related:                      
 When compiling code with a ghc plugin, e.g. '''ghc -O -fplugin SomePlugin
 Main.hs''', recompilation is triggered for every module.  This can make
 plugins difficult to use in environments with many modules shared between

 Since a plugin is a GHC library, I would like to propose that plugin
 arguments and interface hashes be included in the dependencies for
 compiled modules, in a similar way to how compiler flags are already
 included.  This would enable ghc to avoid recompilation of modules when
 using plugins, provided that the plugin and plugin options haven't

Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7414>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

Glasgow-haskell-bugs mailing list

Reply via email to