[Hackage] #630: Please add support for common modules and
options
Hackage
cvs-ghc at haskell.org
Fri Aug 27 04:40:52 EDT 2010
#630: Please add support for common modules and options
-----------------------------------+----------------------------------------
Reporter: AnttiJuhaniKaijanaho | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Cabal specification | Version: 1.6.0.1
Severity: normal | Keywords:
Difficulty: unknown | Ghcversion:
Platform: |
-----------------------------------+----------------------------------------
Changes (by sebf):
* cc: mail@… (added)
Comment:
Ideally, a build system would not only be purely functional but lazy: if
two executables list common modules under `Other-Modules` and the compile
options are the same then the common modules should be compiled only once.
I think this should happen automatically without user intervention. The
proposed `All-Executables` section would help reduce duplication in cabal
files but I don't think it should be necessary to share compilation
results for multiple executables without making a library to depend upon.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/630#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list