2014-04-28 10:16:22 +00:00
|
|
|
# Compiling hgraph
|
|
|
|
|
|
|
|
1. initialize the sandbox
|
2014-04-28 10:21:59 +00:00
|
|
|
|
2014-04-28 10:16:22 +00:00
|
|
|
cabal sandbox init
|
2014-04-28 10:21:59 +00:00
|
|
|
|
2014-04-28 10:16:22 +00:00
|
|
|
2. install dependencies
|
2014-04-28 10:21:59 +00:00
|
|
|
|
2014-04-28 10:16:22 +00:00
|
|
|
cabal install --only-dependencies
|
2014-04-28 10:21:59 +00:00
|
|
|
|
2014-04-28 10:16:22 +00:00
|
|
|
3. build package
|
2014-04-28 10:21:59 +00:00
|
|
|
|
2014-04-28 10:16:22 +00:00
|
|
|
cabal build
|
2014-04-28 10:21:59 +00:00
|
|
|
|
2014-04-28 10:16:22 +00:00
|
|
|
4. Optional build documentation (Requires haddock - installable with cabal install haddock)
|
2014-04-28 10:21:59 +00:00
|
|
|
|
2014-04-28 10:16:22 +00:00
|
|
|
cabal haddock
|
2014-04-28 10:21:59 +00:00
|
|
|
|
2014-04-28 10:16:22 +00:00
|
|
|
5. Run with
|
2014-04-28 10:21:59 +00:00
|
|
|
|
|
|
|
./hgraph sampledata.adj sampledata.adj.atr sampledata.p +RTS -N<Number of Cores>
|
|
|
|
|
2014-04-28 10:16:22 +00:00
|
|
|
and redirect the output into desired target.
|