Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vim YouCompleteMe plugin - don't download clang

I want to install and use the YouCompleteMe Plugin for Vim. However, a part of the installation implies downloading clang 3.7, which is already a part of my current Ubuntu installation. Generally, wasting space on multiple versions of the same application on my file system is something I disregard, but now I'm also running dual-boot and don't have that much space left for a "casual" downloaded copy of clang just to make use of this plugin.

How can I make the YouCompleteMe to make use of the installation/libraries I already have, if possible at all?

Thanks.

like image 224
gustafbstrom Avatar asked Dec 05 '25 11:12

gustafbstrom


1 Answers

Depending on your YCM install method, you will have to specify something like:

--system-libclang --system-boost

…as arguments to the install.py command.

Note that the YCM install docs strongly discourage the usage of system-libclang.

like image 83
VanLaser Avatar answered Dec 07 '25 02:12

VanLaser



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!