[clangd-dev] Releasing/packaging clangd

Simon Marchi via clangd-dev clangd-dev at lists.llvm.org
Wed Oct 3 09:35:34 PDT 2018

On 2018-10-03 12:00, Sylvestre Ledru wrote:
> Not sure what happens but you can see it here now:
> http://apt.llvm.org/xenial/pool/main/l/llvm-defaults/
> and the symlink is now provided:
> $ dpkg -c
> clang-tools_8.0-45+0~20181003144457.17~1.gbp3de5db_amd64.deb|grep
> clangd
> lrwxrwxrwx root/root         0 2018-10-03 16:46 ./usr/bin/clangd ->
> ../lib/llvm-8/bin/clangd

Hmm indeed I have /usr/bin/clangd when I install the clang-tools-8 

I don't understand though, when I download the package and run the same 
command as you, I don't see the symlink in the output:

$ apt-get download clang-tools-8
$ dpkg -c 
| grep clangd
-rwxr-xr-x root/root  18151016 2018-10-02 23:37 
lrwxrwxrwx root/root         0 2018-10-02 23:37 ./usr/bin/clangd-8 -> 

Any idea why?

On a side note, what will happen when multiple versions of clang-tools 
will be installed simultaneously?  Let's say in the future I install 
clang-tools-9, then clang-tools-8, will the second overwrite the symlink 
from the first one?  Or will the packages of the older versions be 
modified to not include the /usr/bin/clangd symlink?



More information about the clangd-dev mailing list