How to change the default version of the llvm tools?
blastmaster
blastmaster at chelnok.de
Wed Apr 26 12:37:58 UTC 2017
Hi everyone,
I've a question especially concerning the clang tools.
I've running a debian sid distribution and have different versions of
clang installed see the dpkg-query listing below.
Now I've the problem that my OS uses obviously clang-3.8 as default.
$ readlink $(which clang-check)
../lib/llvm-3.8/bin/clang-check
As a result some tools which are just available in newer version are not
in the PATH despite they are installed.
Is there a way to change that or switch between the versions? Or is
there a reason behind which I don't see?
$ dpkg-query -l --load-avail 'clang*'
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture
Description
+++-============================-===================-===================-=============================================================
ii clang 1:3.8-36 amd64
C, C++ and Objective-C compiler (LLVM based)
un clang-3.1 <none> <none>
(no description available)
un clang-3.2 <none> <none>
(no description available)
un clang-3.3 <none> <none>
(no description available)
un clang-3.4 <none> <none>
(no description available)
un clang-3.5 <none> <none>
(no description available)
ii clang-3.6 1:3.6.2-4 amd64
C, C++ and Objective-C compiler (LLVM based)
un clang-3.6-doc <none> <none>
(no description available)
un clang-3.7 <none> <none>
(no description available)
ii clang-3.8 1:3.8.1-23 amd64
C, C++ and Objective-C compiler (LLVM based)
ii clang-3.8-doc 1:3.8.1-23 all
C, C++ and Objective-C compiler (LLVM based) - Documentation
ii clang-3.9 1:3.9.1-8 amd64
C, C++ and Objective-C compiler (LLVM based)
un clang-3.9-doc <none> <none>
(no description available)
un clang-4.0 <none> <none>
(no description available)
ii clang-format 1:3.8-36 amd64
Tool to format C/C++/Obj-C code
un clang-format-3.3 <none> <none>
(no description available)
ii clang-format-3.8 1:3.8.1-23 amd64
Tool to format C/C++/Obj-C code
un clang-include-fixer-3.9 <none> <none>
(no description available)
Thanks in advance,
Sebastian
More information about the Pkg-llvm-team
mailing list