Ticket #159 (new enhancement)

Opened 6 years ago

Last modified 5 years ago

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

Attachments

cabal.dependencies.20070927.dpatch.bz2 Download (13.4 KB) - added by guest 6 years ago.

Change History

Changed 6 years ago by guest

  Changed 5 years ago by duncan

  • keywords dependency build removed
  • platform Linux deleted
  • milestone changed from Cabal-1.4 to Cabal-2.0

See #15.

follow-up: ↓ 3   Changed 5 years ago by guest

See also:

  • #216 - specify more kinds of dependencies in .cabal files
  • #177 - check for required directories
  • #262 - check for required foreign libraries

in reply to: ↑ 2   Changed 5 years ago by duncan

  • summary changed from cabal dependencies to make-style module/file dependencies

Replying to guest:

See also: * #216 - specify more kinds of dependencies in .cabal files * #177 - check for required directories * #262 - check for required foreign libraries

Different kind of dependencies, those are inter-package dependencies. This ticket is about make-style module/file dependencies. I'm renaming the ticket to make that clear.

  Changed 5 years ago by guest

  • cc gwern0@… added
Note: See TracTickets for help on using tickets.