[m-rev.] for review: parallel mmc --make and nested sub-modules

Julien Fischer juliensf at csse.unimelb.edu.au
Fri Sep 2 15:08:18 AEST 2011


On Fri, 2 Sep 2011, Peter Wang wrote:

> Branches: main, 11.07
>
> Fix problems with nested sub-modules and parallel mmc --make.
>
> The interface and intermediate target files for nested sub-modules
> are built as part of their parent modules.  In sequential mode, there is
> no harm in trying to build those files separately, but with parallel
> make, two processes may try to create the files from the same parent
> module simultaneously.
>
> compiler/make.dependencies.m:
> 	Add a predicate to remove nested modules from a list.
>
> compiler/make.program_target.m:
> 	Remove nested modules from the list of intermediate targets to
> 	create.
>
> 	Remove nested modules from the list of interface files to create.

That looks fine.

Julien.
--------------------------------------------------------------------------
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