[m-rev.] for review: improve mmc --make dependency algorithm

Simon Taylor staylr at gmail.com
Fri May 18 11:59:42 AEST 2007


On 17-May-2007, Ian MacLarty <maclarty at csse.unimelb.edu.au> wrote:
> For review by anyone.
> 
> Estimated hours taken: 3
> Branches: main
> 
> compiler/make.dependencies.m:
> 	Do not recompile a module if a submodule of an imported module is
> 	changed and the module doesn't import the submodule.
> 	For example if a.m imports b.m, and b.c.m is a submodule of b.m, then
> 	don't recompile a.m if b.c.m changes.
> 
> 	Add an all_imports option to the transitive_dependencies_type type.
> 	This option indicates all transitively imported modules and excludes
> 	modules that are included but not imported.
> 
> 	Change find_transitive_implementation_imports to find only all
> 	transitive imports, not all imports and includes.
> 
> 	Fix some comments.
> 
> 	Reformat the declaration of of/2 so that mtags recognises it.

That looks fine, thanks.

Simon.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list