[darcs-devel] darcs patch: Summarise calls to GHC in makefile.

David Roundy droundy at darcs.net
Tue Oct 23 14:21:38 UTC 2007


On Mon, Oct 22, 2007 at 10:49:18PM +0200, Eric Y. Kow wrote:
> On Tue, Oct 23, 2007 at 05:20:54 +0900, Stephen J. Turnbull wrote:
> > How about a halfway house target like:
> > 
> > remind_me_of_options_too: all
> > 	echo "Here are the settings for various commands:"
> > 	echo "GHC = $(GHC)"
> 
> Hmm, well the settings tend to change from file to file.  But I could
> just print out the settings for the usual cases (not neccessarily the
> least common denominator) if you think that would be useful.

Another interesting idea would be to add a variable GHC_REMINDERS, which
would store a summary of configure flags in human-friendly form, which
could serve as a reminder that we're using type witnesses, profiling, etc.
Something like

[ghc with profiling, no optimization, type witnesses] src/Context.o

where we'd only mention non-default settings.  That'd be cool.  And not too
hard, either.
-- 
David Roundy
Department of Physics
Oregon State University
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20071023/8de50281/attachment.pgp 


More information about the darcs-devel mailing list