[m-rev.] for review: get java.ssdebug grade installing
Peter Wang
novalazy at gmail.com
Mon Sep 14 13:15:40 AEST 2009
On 2009-09-14, Ian MacLarty <maclarty at csse.unimelb.edu.au> wrote:
> Estimated hours taken: 2
> Branches: main
>
> Get the java.ssdebug grade installing and compiling hello world.
> Note that currently the jars for the java.ssdebug grade are installed in the
> same location as the non-ssdebug jars. That's not a problem for now,
> because the standard library currently has the ssdebug transformations
> turned off when it's compiled in the ssdebug grade, so the java.ssdebug
> jars are the same as the java jars. Changing it so that the java.ssdebug
> jars are installed in a different location requires getting mmc to
> adjust the classpath depending on the grade, which doesn't seem worth
> it at this stage.
>
> Also note that the interface files for the ssdb, browser and mdbcomp
> libraries need to be installed in the ssdebug grade otherwise mmc
> complains that it cannot find files like ssdb.m when compiling
> a program. These interface files are currently only installed
> when there is an ssdebug grade.
>
> browser/MDB_FLAGS.in:
> mdbcomp/MDBCOMP_FLAGS.in:
> ssdb/SSDB_FLAGS.in:
> Generate .module_dep files (needed to compile ssdebug transformed
> programs).
>
> browser/Mmakefile:
> Build and install mer_browser.jar.
> Install the interface files when in an ssdebug grade.
>
> browser/browse.m:
> Avoid a determinsim warning.
>
determinism
> diff -u -r1.22 Mercury.config.in
> --- scripts/Mercury.config.in 18 Aug 2009 05:10:40 -0000 1.22
> +++ scripts/Mercury.config.in 14 Sep 2009 02:35:32 -0000
> @@ -69,6 +69,9 @@
> --c-flag-to-name-object-file "@OBJFILE_OPT@" \
> --java-classpath "$(INSTALL_JAVA_LIBRARY_DIR)/$(RT_LIB_NAME).jar" \
> --java-classpath "$(INSTALL_JAVA_LIBRARY_DIR)/$(STD_LIB_NAME).jar" \
> + --java-classpath "$(INSTALL_JAVA_LIBRARY_DIR)/mer_mdbcomp.jar" \
> + --java-classpath "$(INSTALL_JAVA_LIBRARY_DIR)/mer_browser.jar" \
> + --java-classpath "$(INSTALL_JAVA_LIBRARY_DIR)/mer_ssdb.jar" \
> --java-flags "@JAVAC_FLAGS_FOR_HEAP_SIZE@" \
> --object-file-extension ". at OBJ_SUFFIX@" \
> --pic-object-file-extension ". at EXT_FOR_PIC_OBJECTS@" \
I suppose it doesn't hurt, even if they're not needed in normal grades.
Looks okay.
Peter
--------------------------------------------------------------------------
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