Require GCC 4.9
A compiler with good enough C++11 support is required to build ycmd.
This commit is contained in:
parent
9c6fd9f3a7
commit
40a12d758b
@ -34,7 +34,9 @@ addons:
|
|||||||
packages:
|
packages:
|
||||||
- cmake-data
|
- cmake-data
|
||||||
- cmake
|
- cmake
|
||||||
- g++-4.8
|
# 4.9 is the first version of GCC with good enough C++11 support to build
|
||||||
|
# ycmd.
|
||||||
|
- g++-4.9
|
||||||
- ninja-build
|
- ninja-build
|
||||||
# Everything below is a Python build dep (though it depends on Python
|
# Everything below is a Python build dep (though it depends on Python
|
||||||
# version). We need them because pyenv builds Python.
|
# version). We need them because pyenv builds Python.
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
|
|
||||||
mkdir ${HOME}/bin
|
mkdir ${HOME}/bin
|
||||||
|
|
||||||
ln -s /usr/bin/g++-4.8 ${HOME}/bin/c++
|
ln -s /usr/bin/g++-4.9 ${HOME}/bin/c++
|
||||||
ln -s /usr/bin/gcc-4.8 ${HOME}/bin/cc
|
ln -s /usr/bin/gcc-4.9 ${HOME}/bin/cc
|
||||||
|
|
||||||
export PATH=${HOME}/bin:${PATH}
|
export PATH=${HOME}/bin:${PATH}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user