[darcs-users] darcs patch: Mention +RTS voodoo in unit --help.

Eric Kow kowey at darcs.net
Tue May 26 18:22:31 UTC 2009


On Tue, May 26, 2009 at 13:13:33 +1000, Trent W.Buck wrote:
> Reinier Lamers <tux_rocker at reinier.de> writes:
> > This is wrong. The test [with just -j4] does not actually use multiple
> > CPU threads. To create multiple CPU threads you have to pass the -N
> > flag to the Haskell runtime system, with the number of threads. The
> > interesting thing to time is "dist/build/unit/unit -j4 +RTS -N4".
> 
> Thanks, that works.  The attached patch should make this obvious to
> other ignorant schmucks like me.

Applied, thanks!

Mention +RTS voodoo in unit --help.
-----------------------------------
> ] hunk ./src/unit.lhs 130
> -opts = [Option ['j'] ["jobs"] (ReqArg parse_numjobs "NUM") "Number of Haskell threads to run unit tests"
> +opts = [Option ['j'] ["jobs"] (ReqArg parse_numjobs "NUM") "Number of Haskell threads to run unit tests (you need +RTS -N<NUM> too)."

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090526/fd6ef6dc/attachment.pgp>


More information about the darcs-users mailing list