aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--build.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/build.html b/build.html
index 1b0fdeb..a971488 100644
--- a/build.html
+++ b/build.html
@@ -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++';
}