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

Julien Fischer jfischer at opturion.com
Sun Mar 28 02:26:11 AEDT 2021


On Wed, 24 Mar 2021, Peter Wang wrote:

> 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.

It should work, you should just get warnings about the .{opt,tran_opt}
files being missing.

> 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.

Fair enough.

Julien.


More information about the reviews mailing list