aboutsummaryrefslogtreecommitdiffhomepage
path: root/build.html
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2024-05-12 23:36:54 +0300
committerlevlam <levlam@telegram.org>2024-05-12 23:36:54 +0300
commit60247851bfdf854fa2d022509e5c16ec6ff6add0 (patch)
tree92076b5f516d61d7afdf7dcfbf61e0a5eadec2b3 /build.html
parentbae33683869c3bd748ea1c022744b02affc8de8f (diff)
Add Ubuntu 24 to build instructions generator.
Diffstat (limited to 'build.html')
-rw-r--r--build.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/build.html b/build.html
index 3dd6de3f9..4c198bd1a 100644
--- a/build.html
+++ b/build.html
@@ -248,6 +248,7 @@
<option>Ubuntu 18</option>
<option>Ubuntu 20</option>
<option>Ubuntu 22</option>
+ <option>Ubuntu 24</option>
<option>Other</option>
</select>
<p></p>
@@ -641,7 +642,7 @@ function onOptionsChanged() {
var use_vcpkg = os_windows;
var use_lto = false;
- if (!use_msvc && language !== 'Go' && language !== 'Java' && language !== 'Kotlin' && (os_mac || (os_linux && (linux_distro === 'Ubuntu 18' || linux_distro === 'Ubuntu 20' || linux_distro === 'Ubuntu 22' || linux_distro === 'Other')))) {
+ if (!use_msvc && language !== 'Go' && language !== 'Java' && language !== 'Kotlin' && (os_mac || (os_linux && (linux_distro === 'Ubuntu 18' || linux_distro === 'Ubuntu 20' || linux_distro === 'Ubuntu 22' || linux_distro === 'Ubuntu 24' || linux_distro === 'Other')))) {
document.getElementById('buildLtoDiv').style.display = 'block';
use_lto = document.getElementById('buildLtoCheckbox').checked;
} else {
@@ -802,6 +803,8 @@ function onOptionsChanged() {
return '-10';
case 'Ubuntu 22':
return '-14';
+ case 'Ubuntu 24':
+ return '-18';
default:
return ''; // use default version
}
@@ -811,6 +814,7 @@ function onOptionsChanged() {
switch (linux_distro) {
case 'Ubuntu 20':
case 'Ubuntu 22':
+ case 'Ubuntu 24':
return getClangVersionSuffix();
default:
return ''; // use default version
@@ -865,6 +869,7 @@ function onOptionsChanged() {
case 'Ubuntu 18':
case 'Ubuntu 20':
case 'Ubuntu 22':
+ case 'Ubuntu 24':
if (linux_distro.includes('Debian') && !use_root) {
commands.push('su -');
}
@@ -889,7 +894,7 @@ function onOptionsChanged() {
}
if (use_clang) {
packages += ' clang' + getClangVersionSuffix() + ' libc++' + getLibcplusplusVersionSuffix() + '-dev';
- if (linux_distro === 'Debian 10+' || linux_distro === 'Ubuntu 18' || linux_distro === 'Ubuntu 20' || linux_distro === 'Ubuntu 22') {
+ if (linux_distro === 'Debian 10+' || linux_distro === 'Ubuntu 18' || linux_distro === 'Ubuntu 20' || linux_distro === 'Ubuntu 22' || linux_distro === 'Ubuntu 24') {
packages += ' libc++abi' + getLibcplusplusVersionSuffix() + '-dev';
}
} else {