[Hackage] #89: Sharing of object files between executable builds?

Hackage trac at galois.com
Sun May 31 18:20:14 EDT 2009


#89: Sharing of object files between executable builds?
---------------------------------+------------------------------------------
  Reporter:  bjorn at bringert.net  |        Owner:           
      Type:  enhancement         |       Status:  new      
  Priority:  normal              |    Milestone:  Cabal-1.8
 Component:  Cabal library       |      Version:           
  Severity:  normal              |   Resolution:           
  Keywords:                      |   Difficulty:  normal   
Ghcversion:  6.4.2               |     Platform:  Linux    
---------------------------------+------------------------------------------
Comment (by duncan):

 Thanks to Stephen we've got this one done finally.

 You can now have executables specify `build-depends` on the library in the
 same package. You must specify `cabal-version: >= 1.8` to use this
 feature. Note that the executable must not specify the same `hs-src-dirs`
 as the library or it'll just pick up the source files rather than using
 the built library.

 Remaining:

   * Add a QA check to make sure people are not specifying internal deps
 without using `cabal-version: >= 1.8`
   * Update the user guide to explain the feature and restrictions.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/89#comment:13>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list