[m-rev.] for review: call javac only once per linked target (mmc --make)
Julien Fischer
juliensf at csse.unimelb.edu.au
Tue May 5 12:25:50 AEST 2009
On Tue, 5 May 2009, Peter Wang wrote:
> Branches: main
>
> With mmc --make, invoke `javac' once only for a linked target, passing it all
> the .java files which need compiling. This is how the Java compiler is meant
> to be used, and is much quicker.
>
> compiler/make.program_target.m:
> As above.
>
> Clear cached timestamps of all `.class' files afterwards.
>
> compiler/compile_target_code.m:
> Change `compile_java_file' to accept multiple Java files.
>
> compiler/make.dependencies.m:
> Fix a bug. `.class' files should depend on the `.java' file only.
>
> compiler/make.module_target.m:
> compiler/mercury_compile.m:
> Conform to changes.
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