update instructions to work better
This commit is contained in:
parent
b8fea9f08d
commit
0288e934cc
1 changed files with 2 additions and 2 deletions
|
@ -20,11 +20,11 @@ git-annex will continue to work.
|
||||||
For the really tricky memory leaks, here's how to make a profiling build of
|
For the really tricky memory leaks, here's how to make a profiling build of
|
||||||
git-annex.
|
git-annex.
|
||||||
|
|
||||||
1. `cabal configure` with only the flags you really need
|
1. `cabal configure --enable-profiling`
|
||||||
2. `cabal build --ghc-options="-prof -auto-all -caf-all"`
|
|
||||||
This will probably fail due to some missing profiling libraries.
|
This will probably fail due to some missing profiling libraries.
|
||||||
You have to get the profiling versions of all needed haskell libraries
|
You have to get the profiling versions of all needed haskell libraries
|
||||||
installed somehow.
|
installed somehow.
|
||||||
|
2. `cabal build`
|
||||||
3. Run git-annex with the special flags `+RTS -hc -p`
|
3. Run git-annex with the special flags `+RTS -hc -p`
|
||||||
4. Reproduce the memory leak problem.
|
4. Reproduce the memory leak problem.
|
||||||
5. If the assistant was run, stop it.
|
5. If the assistant was run, stop it.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue