mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #32010 from varungandhi-apple/vg-loss-of-trust
[NFC] Remove bits and pieces referring to Ubuntu 14.04 LTS (Trusty Tahr)
This commit is contained in:
@@ -154,8 +154,6 @@ with version 2 shipped with Ubuntu.
|
||||
|
||||
**Note:** For Ubuntu 20.04, use `libpython2-dev` in place of the libpython-dev package above.
|
||||
|
||||
Build instructions for Ubuntu 14.04 LTS can be found [here](docs/Ubuntu14.md).
|
||||
|
||||
### Getting Sources for Swift and Related Projects
|
||||
|
||||
First create a directory for all of the Swift sources:
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
# Getting Started with Swift on Ubuntu 14.04
|
||||
|
||||
## Upgrade Clang
|
||||
You'll need to upgrade your clang compiler for C++14 support and create a symlink. The minimum required version of clang may change, and may not be available on Ubuntu 14.04 in the future.
|
||||
```bash
|
||||
sudo apt-get install clang-3.9
|
||||
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.9 100
|
||||
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.9 100
|
||||
sudo update-alternatives --set clang /usr/bin/clang-3.9
|
||||
sudo update-alternatives --set clang++ /usr/bin/clang++-3.9
|
||||
```
|
||||
|
||||
## Upgrade CMake
|
||||
You'll need to upgrade your CMake toolchain to a supported version by building a local copy. The minimum required version of CMake may change, and may not be available on Ubuntu 14.04 in the future.
|
||||
```bash
|
||||
wget https://cmake.org/files/v3.5/cmake-3.5.2.tar.gz
|
||||
tar xf cmake-3.5.2.tar.gz
|
||||
cd cmake-3.5.2
|
||||
./configure
|
||||
make
|
||||
sudo make install
|
||||
sudo update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 --force
|
||||
cmake --version # This should print 3.5.2
|
||||
```
|
||||
@@ -968,19 +968,6 @@ mixin-preset=
|
||||
buildbot_linux_1510
|
||||
mixin_buildbot_linux,no_test
|
||||
|
||||
# Ubuntu 14.04 preset for backwards compat and future customizations.
|
||||
[preset: buildbot_linux_1404]
|
||||
mixin-preset=buildbot_linux
|
||||
indexstore-db=0
|
||||
sourcekit-lsp=0
|
||||
|
||||
# Ubuntu 14.04 preset that skips all tests except for integration testing of the
|
||||
# package.
|
||||
[preset: buildbot_linux_1404,notest]
|
||||
mixin-preset=
|
||||
buildbot_linux_1404
|
||||
mixin_buildbot_linux,no_test
|
||||
|
||||
[preset: buildbot_linux,smoketest]
|
||||
mixin-preset=mixin_linux_installation
|
||||
build-subdir=buildbot_linux
|
||||
|
||||
Reference in New Issue
Block a user