[m-rev.] diff: fix .module_dep files

Julien Fischer juliensf at csse.unimelb.edu.au
Wed Jul 23 14:06:52 AEST 2008

On Wed, 23 Jul 2008, Peter Wang wrote:

> On 2008-07-22, Julien Fischer <juliensf at csse.unimelb.edu.au> wrote:
>> On Tue, 22 Jul 2008, Zoltan Somogyi wrote:
>>> Julien is looking into changing tools/bootcheck to build stage 2 both with
>>> and without --use-subdirs, and using each version of stage 2 for the right
>>> set of test directories.
>> I've thought about this and I think we should add a separate stage 4,
>> which is stage 2 with --use-subdirs.  The rationale for that is that it
>> will be useful in some circumstances to keep stage 2 around, e.g for
>> situations where the buggy behaviour is caused by --use-subdirs.
> It seems overkill to build an entire stage 4 just to test --use-subdirs.
> If all you wanted to do was run the test suite, you could just use a
> shell script to populate a pseudo-stage 4 directory using the files from
> stage 2, putting them into subdirectories.

Such a shell script would be a maintenance headache because it would
need to be kept in sync with the compiler.

> On the other hand, you might as well build a stage 4 using mmc --make
> (using the stage 2 compiler).  To save time, it would be enough to
> rebuild the library directories with mmc --make, then copy some files
> from the stage 2 compiler directory.  WORKSPACE=stage4 lmc should work
> then.

That would be useful in itself.

stage 4 == mmc --make seems good.

We may as well just build the whole thing in stage 4 - some of  our
machines are powerful enough that the extra compilation won't be an
issue, e.g. neptune, pluto and eris.  We just won't run it all on
some of the older machines.

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