2016-04-16 21:10:57 -04:00
|
|
|
# Linux-specific installation
|
2015-11-08 15:21:30 -05:00
|
|
|
|
2016-10-02 14:24:45 -04:00
|
|
|
# We can't use sudo, so we have to approximate the behaviour of setting the
|
|
|
|
# default system compiler.
|
|
|
|
|
2017-09-05 10:34:00 -04:00
|
|
|
mkdir -p ${HOME}/bin
|
2016-10-02 14:24:45 -04:00
|
|
|
|
2017-07-20 16:14:10 -04:00
|
|
|
ln -s /usr/bin/g++-4.8 ${HOME}/bin/c++
|
|
|
|
ln -s /usr/bin/gcc-4.8 ${HOME}/bin/cc
|
2016-10-02 14:24:45 -04:00
|
|
|
|
|
|
|
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"
|