Install any version of LLVM/Clang++ under CentOS/Ubuntu

The version of clang that comes with CentOS is too low. If you want to install a higher version of clang, I searched the Internet for a variety of installation methods, and it is difficult to succeed. After all, LLVM is a series of tools.

In fact, there is a compiled binary package on the LLVM official website. You only need to download it and unzip it, and configure the PATH environment variable to use it.

Download the version you need from the official website:

https://releases.llvm.org/  

After decompression, configure PATH to use.

 

Guess you like

Origin blog.csdn.net/langeldep/article/details/113696764