[m-rev.] for review: install java grade with mmc --make

Julien Fischer juliensf at csse.unimelb.edu.au
Tue Oct 20 14:10:40 AEDT 2009


On Tue, 20 Oct 2009, Peter Wang wrote:

> Branches: main
>
> Use mmc --make to install Java grades.  The makefile rules in library/Mmakefile
> did not install .opt files into <prefix>/lib/mercury/ints/java.  When
> intermodule optimisation was enabled with a Java grade, the Mercury compiler
> would read the .opt files from <prefix>/lib/mercury/ints, which could be from
> *any* grade (they are only installed to work around problems with Mmake).
>
> Mmakefile:
>        Force mmc --make to be used to install Java grades.
>
> browser/Mmakefile:
> library/Mmakefile:
> mdbcomp/Mmakefile:
> ssdb/Mmakefile:
>        Delete rules for building libraries in the Java grade with Mmake.
>
>        Move --no-libgrade options to *_FLAGS files.
>
> library/Mmakefile:
>        Create the jmercury -> ../java symlink at the `mmake depend' step.
>
>        Pass -sourcepath . to javac so it can find the jmercury/runtime/*.java
>        files.
>
> browser/MDB_FLAGS.in:
> compiler/COMP_FLAGS.in:
> library/LIB_FLAGS.in:
> mdbcomp/MDBCOMP_FLAGS.in:
> ssdb/SSDB_FLAGS.in:
>        Add --no-libgrade options so that mmc --make libFOO.install only
>        installs the main grade.
>
>        Add --no-java-classpath so that the .jar files from the installed
>        compiler aren't used.
>
>        Tell the Java compiler about .jar files that each directory depends on.
>
> README.Java:
>        Remove a mention of Mmake with the java grade.

That's 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