YouCompleteMe/ci/travis/travis_install.linux.sh

16 lines
438 B
Bash
Raw Normal View History

2016-04-16 21:10:57 -04:00
# Linux-specific installation
# We can't use sudo, so we have to approximate the behaviour of setting the
# default system compiler.
mkdir ${HOME}/bin
ln -s /usr/bin/g++-4.9 ${HOME}/bin/c++
ln -s /usr/bin/gcc-4.9 ${HOME}/bin/cc
export PATH=${HOME}/bin:${PATH}
2016-04-16 21:10:57 -04:00
# In order to work with ycmd, python *must* be built as a shared library. This
# is set via the PYTHON_CONFIGURE_OPTS option.
export PYTHON_CONFIGURE_OPTS="--enable-shared"