Ticket #89 (new enhancement)
Sharing of object files between executable builds?
| Reported by: | bjorn@… | Owned by: | duncan |
|---|---|---|---|
| Priority: | normal | Milestone: | Cabal-1.8 |
| Component: | Cabal library | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | jgoerzen@…, gwern0@…, SamB, manlio.perillo@…, nomeata, vogt.adam@…, petersen@…, wehr@…, mail@… | Difficulty: | easy (<4 hours) |
| GHC Version: | 6.4.2 | Platform: | Linux |
Description
When building a package which contains multiple executables which share some modules, each module is recompiled for every executable. This can increase the compile time substantially. One problem with compiling each module only once is that different executables can have different compiler options, which can for example affect preprocessing. Maybe modules could be shared if all executables have the same compiler options?
Change History
Note: See
TracTickets for help on using
tickets.
