[Hackage] #444: Simple builds ignore .buildinfo

Hackage trac at galois.com
Wed Jan 7 14:21:31 EST 2009

#444: Simple builds ignore .buildinfo
  Reporter:  awick          |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:
  Severity:  normal         |     Keywords:         
Difficulty:  normal         |   Ghcversion:  6.8.3  
  Platform:                 |  
 It would be convenient if Simple builds would look for buildinfo files,
 instead of just ignoring them. It's sometimes convenient to have the
 configure script run as a separate phase (for example, when you're
 configuring a bunch of separate cabal packages) instead of re-running the
 same configure tests every time, and this would help.

 There's an obvious workaround (setting the type to 'Configure' and then
 adding an empty 'configure' script), but this is tedious.

 I've attached a simple example. The .buildinfo file tells Cabal to build
 Test2 in addition to Test1. If you set the type to Simple, it only builds
 Test1. If you set it to 'Configure', it runs the empty configure script
 and then builds both Test1 and Test2. It'd be nicer if 'Simple' caused
 both Test1 and Test2 to be built, as well.

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/444>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list