[Hackage] #593: Rebuild for library profiling without reinstalling
Hackage
trac at galois.com
Tue Sep 29 14:46:48 EDT 2009
#593: Rebuild for library profiling without reinstalling
---------------------------------+------------------------------------------
Reporter: guest | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: cabal-install tool | Version: 1.6.0.2
Severity: minor | Keywords:
Difficulty: unknown | Ghcversion:
Platform: |
---------------------------------+------------------------------------------
I tried:
{{{
cabal install mtl --enable-library-profiling
}}}
when I already had mtl installed, but didn't have the profiling libraries
for installed. I got the message:
{{{
No packages to be installed. All the requested packages are already
installed.
If you want to reinstall anyway then use the --reinstall flag.
}}}
Re-running the same command with --reinstall did install the profiling
libraries, but it also rebuilt the non-profiling version (which was
already installed). It would be nice if "cabal install" was smart enough
to just rebuild the profiling libraries if you try to install an already-
installed library with the --enable-library-profiling flag.
This is with cabal-install 0.6.2, library version 1.6.0.3.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/593>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list