diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2017-09-29 13:46:53 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2017-10-27 14:21:19 +0000 |
commit | 5ba40cb7fbeb58f2ac1284944f7dda0b3f7bb453 (patch) | |
tree | ae1986a0254b1e32d32d60505c7c7301163484df /README.md | |
parent | 6de3eb7a1a441e529549c9097431c2fc16fca90b (diff) | |
download | qt-creator-5ba40cb7fbeb58f2ac1284944f7dda0b3f7bb453.tar.gz |
Clang: Require LLVM/Clang >= 5.0.0
...for the code model parts and declare 5.0 as the supported version for
the clang static analyzer.
Adapt versions and tests, remove code assuming clang <= 5.0.
LLVM/Clang 5 was released on 07 Sep 2017.
Task-number: QTCREATORBUG-18931
Task-number: QTCREATORBUG-18657
Task-number: QTCREATORBUG-17187
Task-number: QTCREATORBUG-14881
Change-Id: I53b00258ca06a1d2e57f9379dacc54b310687295
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -22,7 +22,7 @@ Prerequisites: * jom * On Mac OS X: latest Xcode * On Linux: g++ 4.9 or later -* LLVM/Clang 3.9.0 or later (optional, needed for the Clang Code Model, see the +* LLVM/Clang 5.0.0 or later (optional, needed for the Clang Code Model, see the section "Get LLVM/Clang for the Clang Code Model") * CMake (only for manual builds of LLVM/Clang) * Qbs 1.7.x (optional, sources also contain Qbs itself) @@ -203,7 +203,7 @@ or using shadow builds. ## Get LLVM/Clang for the Clang Code Model The Clang Code Model depends on the LLVM/Clang libraries. The currently -supported LLVM/Clang version is 3.9. +supported LLVM/Clang version is 5.0. ### Prebuilt LLVM/Clang packages @@ -224,9 +224,9 @@ GCC 4 binaries. On Ubuntu, you can download the package from http://apt.llvm.org/ with: wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - - sudo apt-add-repository "deb http://apt.llvm.org/`lsb_release -cs`/ llvm-toolchain-`lsb_release -cs`-3.9 main" + sudo apt-add-repository "deb http://apt.llvm.org/`lsb_release -cs`/ llvm-toolchain-`lsb_release -cs`-5.0 main" sudo apt-get update - sudo apt-get install llvm-3.9 libclang-3.9-dev + sudo apt-get install llvm-5.0 libclang-5.0-dev There is a workaround to set _GLIBCXX_USE_CXX11_ABI to 1 or 0, but we recommend to download the package from http://apt.llvm.org/. |