Ticket #159 (new enhancement)
make-style module/file dependencies
| Reported by: | guest | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Cabal-2.0 |
| Component: | Cabal library | Version: | HEAD |
| Severity: | normal | Keywords: | |
| Cc: | gwern0@… | Difficulty: | project(> week) |
| GHC Version: | 6.6 | Platform: |
Description
I've already posted this to the list, but I'm reposting it here in the hopes that it will generate some comments.
This patch adds dependency analysis to the build phase in Cabal packages. The code hooks in to the build system through the build user hook. The only compiler it currently supports is GHC, but it does support c2hs, hsc, and cpphs, as well as FFI stubs. It still needs support for building executables, split objects, and I'm sure a few other things I'm not thinking about right now.
Please try the patch out. If you run "make setup-dep", a version of setup using this patch will be built, which then can be run the way you'd usually run setup.
Pete

