On Fri, 10 Jun 2022 11:22:00 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:

>> I can merge the two `apt-get install` lines, if you say that it is not 
>> necessary to call `update-alternatives` before the second install line. (But 
>> does it really speed things up?)
>
>> (But does it really speed things up?)
> 
> Yes, I think it does: `apt` would read the package database once, and do the 
> post-install actions once. `update-alternatives` does not have to happen 
> between those two lines.

I hope I made the abstractions of the apt version strings correct. If not, 
we'll have to adjust it when we upgrade compilers.

-------------

PR: https://git.openjdk.org/jdk/pull/9063

Reply via email to