aboutsummaryrefslogtreecommitdiffhomepage
path: root/build.html
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2025-02-13 19:47:22 +0300
committerlevlam <levlam@telegram.org>2025-02-13 19:47:22 +0300
commitd5f97602a2feb1dd0024ea052fcb39b096ef767a (patch)
tree3e50d05fdd6edea2438e8547d3319bd39d47e75d /build.html
parent4ac462542f6e898129d721f63c4e0cfb0cbec426 (diff)
Remove Ubuntu 14 from the build instructions generator.
Diffstat (limited to 'build.html')
-rw-r--r--build.html24
1 files changed, 1 insertions, 23 deletions
diff --git a/build.html b/build.html
index 01d6af5ce..1d3111237 100644
--- a/build.html
+++ b/build.html
@@ -243,7 +243,6 @@
<option>CentOS Stream 9</option>
<option>Debian 9</option>
<option>Debian 10+</option>
- <option>Ubuntu 14</option>
<option>Ubuntu 16</option>
<option>Ubuntu 18</option>
<option>Ubuntu 20</option>
@@ -799,8 +798,6 @@ function onOptionsChanged() {
function getClangVersionSuffix() {
switch (linux_distro) {
- case 'Ubuntu 14':
- return '-3.9';
case 'Ubuntu 18':
return '-6.0';
case 'Ubuntu 20':
@@ -874,7 +871,6 @@ function onOptionsChanged() {
break;
case 'Debian 9':
case 'Debian 10+':
- case 'Ubuntu 14':
case 'Ubuntu 16':
case 'Ubuntu 18':
case 'Ubuntu 20':
@@ -883,22 +879,9 @@ function onOptionsChanged() {
if (linux_distro.includes('Debian') && !use_root) {
commands.push('su -');
}
- if (linux_distro === 'Ubuntu 14' && !use_clang) {
- commands.push(sudo + 'add-apt-repository ppa:ubuntu-toolchain-r/test');
- }
commands.push(sudo + 'apt-get update');
commands.push(sudo + 'apt-get upgrade');
- var packages = 'make git zlib1g-dev libssl-dev gperf';
- if (linux_distro === 'Ubuntu 14') {
- packages += ' php5-cli';
- } else {
- packages += ' php-cli';
- }
- if (linux_distro === 'Ubuntu 14') {
- packages += ' cmake3';
- } else {
- packages += ' cmake';
- }
+ var packages = 'make git zlib1g-dev libssl-dev gperf php-cli cmake';
if (target === 'JNI') {
packages += ' default-jdk';
}
@@ -909,9 +892,6 @@ function onOptionsChanged() {
}
} else {
packages += ' g++';
- if (linux_distro === 'Ubuntu 14') {
- packages += '-4.9';
- }
}
commands.push(sudo + 'apt-get install ' + packages);
if (linux_distro.includes('Debian') && !use_root) {
@@ -1054,8 +1034,6 @@ function onOptionsChanged() {
options.push('-DCMAKE_OBJDUMP=/usr/bin/llvm-objdump' + clang_version_suffix);
options.push('-DCMAKE_RANLIB=/usr/bin/llvm-ranlib' + clang_version_suffix);
}
- } else if (linux_distro === 'Ubuntu 14') {
- prefix = 'CC=/usr/bin/gcc-4.9 CXX=/usr/bin/g++-4.9 ';
} else if (linux_distro === 'CentOS 7') {
prefix = 'CC=/opt/rh/devtoolset-9/root/usr/bin/gcc CXX=/opt/rh/devtoolset-9/root/usr/bin/g++ ';
}