diff options
| author | levlam <levlam@telegram.org> | 2026-07-08 19:53:30 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2026-07-08 19:53:30 +0300 |
| commit | 60bfc54349f9c7b420bc6947de84aabd4c7ff7fa (patch) | |
| tree | 7d38df2ed880aa9edfb81ba3da02ccf810ff8498 /build.html | |
| parent | b7d5263d674e04d5dced6f416a58bed40180df33 (diff) | |
Add Ubuntu 26 to build instructions generator.
Diffstat (limited to 'build.html')
| -rw-r--r-- | build.html | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -208,6 +208,7 @@ <option>Ubuntu 20</option> <option>Ubuntu 22</option> <option>Ubuntu 24</option> + <option>Ubuntu 26</option> <option>Other</option> </select> <p></p> @@ -496,6 +497,8 @@ function onOptionsChanged() { return '-14'; case 'Ubuntu 24': return '-18'; + case 'Ubuntu 26': + return '-21'; default: return ''; // use default version } @@ -506,6 +509,7 @@ function onOptionsChanged() { case 'Ubuntu 20': case 'Ubuntu 22': case 'Ubuntu 24': + case 'Ubuntu 26': return getClangVersionSuffix(); default: return ''; // use default version @@ -556,6 +560,7 @@ function onOptionsChanged() { case 'Ubuntu 20': case 'Ubuntu 22': case 'Ubuntu 24': + case 'Ubuntu 26': if (linux_distro.includes('Debian') && !use_root) { commands.push('su -'); } @@ -563,10 +568,7 @@ function onOptionsChanged() { commands.push(sudo + 'apt-get upgrade'); var packages = 'make git zlib1g-dev libssl-dev gperf cmake'; 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' || linux_distro === 'Ubuntu 24') { - packages += ' libc++abi' + getLibcplusplusVersionSuffix() + '-dev'; - } + packages += ' clang' + getClangVersionSuffix() + ' libc++' + getLibcplusplusVersionSuffix() + '-dev libc++abi' + getLibcplusplusVersionSuffix() + '-dev'; } else { packages += ' g++'; } |
