[m-rev.] for review: clarify how to build and install Mercury in C#/Java grades
Zoltan Somogyi
zoltan.somogyi at runbox.com
Sat Aug 9 18:16:30 AEST 2025
On Sat, 9 Aug 2025 17:03:55 +1000, Julien Fischer <jfischer at opturion.com> wrote:
> +The Java version of the compiler MUST be built using `mmake`'s `--use-mmc-make`
> +option; the build will not work otherwise. Setting the variable `GRADE` in the
> +invocations of `mmake` is currently required to avoid variable definition
> +ordering problems in `Mmake.workspace`.
What ordering problem? A search for "order" in that file does not have
any relevant matches, and I couldn't find any by just reading the file.
Are you trying to say that Mmake.workspace simply needs to know
the value of GRADE? In that case, is there some reason why it cannot come
from e.g. Mmake.params, rather than the mmake command line?
Even if it can, I understand for including it on the recommended command line;
I just do not understand the reference to the "ordering problem".
I don't know Java and C# builds well enough for this to be definitive,
but I see nothing wrong with the rest of the diff.
Zoltan.
More information about the reviews
mailing list