Updating documentation for FreeBSd 11.x

This commit is contained in:
Alexis Praga 2018-05-09 17:56:09 +02:00
parent c027b16ced
commit 71a33dde98
No known key found for this signature in database
GPG Key ID: 65DCD80B3BFE5B80

View File

@ -494,10 +494,9 @@ Make sure you have Vim 7.4.1578 with Python 2 or Python 3 support.
OpenBSD 5.5 and later have a Vim that's recent enough. You can see the version of OpenBSD 5.5 and later have a Vim that's recent enough. You can see the version of
Vim installed by running `vim --version`. Vim installed by running `vim --version`.
FreeBSD 10.x comes with clang compiler but not the libraries needed to install. For FreeBSD 11.x, the requirement is cmake:
pkg install llvm38 boost-all boost-python-libs clang38 pkg install cmake
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/llvm38/lib/
Install YouCompleteMe with [Vundle][]. Install YouCompleteMe with [Vundle][].
@ -506,17 +505,20 @@ using Vundle and the ycm_core library APIs have changed (happens
rarely), YCM will notify you to recompile it. You should then rerun the install rarely), YCM will notify you to recompile it. You should then rerun the install
process. process.
Install dependencies and CMake: `sudo pkg_add llvm boost cmake`
Compiling YCM **with** semantic support for C-family languages: Compiling YCM **with** semantic support for C-family languages:
cd ~/.vim/bundle/YouCompleteMe cd ~/.vim/bundle/YouCompleteMe
./install.py --clang-completer --system-libclang --system-boost ./install.py --clang-completer
Compiling YCM **without** semantic support for C-family languages: Compiling YCM **without** semantic support for C-family languages:
cd ~/.vim/bundle/YouCompleteMe cd ~/.vim/bundle/YouCompleteMe
./install.py --system-boost ./install.py
If the `python` executable is not present, or the default `python` is not the
one that should be compiled against, specify the python interpreter explicitly:
python3 install.py --clang-completer
The following additional language support options are available: The following additional language support options are available: