travis_install.linux.sh 438 B

123456789101112131415
  1. # Linux-specific installation
  2. # We can't use sudo, so we have to approximate the behaviour of setting the
  3. # default system compiler.
  4. mkdir ${HOME}/bin
  5. ln -s /usr/bin/g++-4.8 ${HOME}/bin/c++
  6. ln -s /usr/bin/gcc-4.8 ${HOME}/bin/cc
  7. export PATH=${HOME}/bin:${PATH}
  8. # In order to work with ycmd, python *must* be built as a shared library. This
  9. # is set via the PYTHON_CONFIGURE_OPTS option.
  10. export PYTHON_CONFIGURE_OPTS="--enable-shared"