Add Debian 10 to build instructions generator.

GitOrigin-RevId: 10a156b2d27bcda835e4177ef09d0d8b5c82c511
This commit is contained in:
levlam 2019-08-01 21:47:59 +03:00
parent 420a0e43af
commit 84dba6cd8e
2 changed files with 6 additions and 2 deletions

View File

@ -57,6 +57,7 @@ select.large { font-size: large; }
<option>Alpine</option>
<option>Debian 8</option>
<option>Debian 9</option>
<option>Debian 10</option>
<option>Ubuntu 14</option>
<option>Ubuntu 16</option>
<option>Ubuntu 18</option>
@ -557,6 +558,7 @@ function onOptionsChanged() {
break;
case 'Debian 8':
case 'Debian 9':
case 'Debian 10':
case 'Ubuntu 14':
case 'Ubuntu 16':
case 'Ubuntu 18':
@ -586,12 +588,15 @@ function onOptionsChanged() {
if (linux_distro === 'Ubuntu 18') {
packages += ' clang-6.0 libc++abi-dev';
} else {
if (linux_distro === 'Ubuntu 18') {
if (linux_distro === 'Ubuntu 14') {
packages += ' clang-3.9';
} else {
packages += ' clang';
}
packages += ' libc++-dev';
if (linux_distro === 'Debian 10') {
packages += ' libc++abi-dev';
}
}
} else {
packages += ' g++';

View File

@ -421,7 +421,6 @@ class FileManager : public FileLoadManager::Callback {
int32 new_priority, uint64 upload_order, bool force = false);
void cancel_upload(FileId file_id);
bool delete_partial_remote_location(FileId file_id);
bool delete_remote_location(FileId file_id);
void delete_file_reference(FileId file_id, std::string file_reference);
void get_content(FileId file_id, Promise<BufferSlice> promise);