[m-rev.] for review: Allow installation with LIBRARY_INTERMODULE=no for development.

Peter Wang novalazy at gmail.com
Wed Mar 24 16:55:32 AEDT 2021


On Wed, 24 Mar 2021 16:44:14 +1100 Julien Fischer <jfischer at opturion.com> wrote:
> 
> Hi Peter,
> 
> On Wed, 24 Mar 2021, Peter Wang wrote:
> 
> > library/Mmakefile:
> >   Delete check to stop installation when LIBRARY_INTERMODULE=no is set.
> >   Users are unlikely to set that by accident, and it is useful for
> >   developers to be able to make test installations without incurring
> >   the cost of generating .opt and especially .trans_opt files for every
> >   little change to the library.
> 
> No objection to this in principle.  Does everything actually work with
> it turned off?  (I seem to recall it not working the past for some
> reason.)

Well, if you start compiling with --intermod-opt that won't work.

But it's enough to test Java or C# changes, which have to be installed
to be tested. The install_grades target still prepares the
install_grade_dir.$grade directory from scratch every time unless you
hack it, but at least you don't have to wait for the .trans_opt files
to be recreated one by one.

Peter


More information about the reviews mailing list