nofib and -rtsopts

Simon Marlow marlowsd at gmail.com
Fri Apr 2 06:09:19 EDT 2010


On 02/04/10 10:29, Max Bolingbroke wrote:
> Hi,
>
> nofib is currently broken because many of the tests try and use +RTS.
> Can someone more familiar with the build system please commit a patch
> which plumbs the new "-rtsopts" flag in at the correct place?
>
> What worked for me was adding -rtsopts to the SRC_HC_OPTS in
> mk/opts.mk (line 27), but I've no idea if thats the right place.

I've been adding -rtsopts to my NoFibHcOpts.  The problem is the flag 
should only be added when ghc >= 6.13, so I suppose we'll need some 
magic GHC version detection like the testsuite build system.

Cheers,
	Simon



More information about the Cvs-ghc mailing list