Update expected compiler RAM usage.

This commit is contained in:
levlam 2024-04-21 02:57:24 +03:00
parent 47368ec988
commit ca5aca24af

View File

@ -589,8 +589,8 @@ function onOptionsChanged() {
var low_memory = false; var low_memory = false;
if (os_linux || os_freebsd || os_netbsd) { if (os_linux || os_freebsd || os_netbsd) {
low_memory = document.getElementById('buildLowMemoryCheckbox').checked; low_memory = document.getElementById('buildLowMemoryCheckbox').checked;
document.getElementById('buildLowMemoryText').innerHTML = 'I have less than ' + (use_clang ? '1.5' : '3.5') +' GB of RAM.' + document.getElementById('buildLowMemoryText').innerHTML = 'I have less than ' + (use_clang ? '2' : '4') +' GB of RAM.' +
(low_memory ? ' Now you will need only ' + (use_clang ? '0.5' : '1') +' GB of RAM to build TDLib.' : ''); (low_memory ? ' Now you will need only ' + (use_clang ? '0.8' : '1.5') +' GB of RAM to build TDLib.' : '');
document.getElementById('buildLowMemoryDiv').style.display = 'block'; document.getElementById('buildLowMemoryDiv').style.display = 'block';
} else { } else {
if (os_openbsd) { if (os_openbsd) {