[m-rev.] C# bootcheck

Julien Fischer jfischer at opturion.com
Thu Jun 20 10:49:30 AEST 2019



On Wed, 19 Jun 2019, Zoltan Somogyi wrote:

> On Wed, 19 Jun 2019 10:40:27 +1000, Julien Fischer <jfischer at opturion.com> wrote:
>> On Wed, 19 Jun 2019 at 10:14, Peter Wang <novalazy at gmail.com> wrote:
>>> Ah, right. mmc --use-mmc-make -jN invokes parallel instances of
>>> mmc --make instead of a single instance of mmc --make with the -jN flag.
>>
>> You're right, setting MCFLAGS = -j8 and then using --use-mmc-make does work
>> properly.   This is somewhat problematic, as for some parts of the system (e.g.
>> the test suite) you do want multiple parallel instances of mmc --make.
>
> Yes, while running the tests in a directory, we would want N parallel instances
> of mmc --make (probably *after* first creating the Mercury/xs directories, to prevent
> the mmc --makes fighting over which one gets to create them). And when building
> stages 2 and 3, I would think we would want only a single mmc --make at a time.
> However, it *should* be possible to set things up in the bootcheck script to use
> each method at the appropriate time; there in nothing requiring us to use only
> a single approach to parallelism through the whole script.
>
> Would anyone volunteer to set this up? I don't think I know enough mmc --make
> to do it myself.

I will take a look at the bootcheck script.  Making mmake -jN
--use-mmc-make the "right" thing when used directly is another matter,
but I think supporting that is not so important, it's very rarely used
anyway.

Julien.


More information about the reviews mailing list