Skip to content

Commit f1740bd

Browse files
committed
SR-8925: Require clang-3.9 on Ubuntu 14.04
Since commit 3469797 changed to build libdispatch for SourceKit with the host compiler, we now require a clang with builtin `__builtin_add_overflow`. Since Ubuntu 14 repositories have a clang that supports this update our build instructions to use it. Resolves [SR-8925](https://bugs.swift.org/browse/SR-8925).
1 parent f4db1dd commit f1740bd

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/Ubuntu14.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
## Upgrade Clang
44
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.
55
```bash
6-
sudo apt-get install clang-3.6
7-
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.6 100
8-
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.6 100
6+
sudo apt-get install clang-3.9
7+
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.9 100
8+
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.9 100
9+
sudo update-alternatives --set clang /usr/bin/clang-3.9
10+
sudo update-alternatives --set clang++ /usr/bin/clang++-3.9
911
```
1012

1113
## Upgrade CMake

0 commit comments

Comments
 (0)