While the LLVM project moves fast, llvm5.0-devel remains a staple for developers maintaining stable enterprise environments or working with specific JIT-enabled plugins. Understanding how to leverage these headers allows for the creation of highly optimized, platform-specific software that utilizes the robust power of the LLVM optimizer.
The answer is simple:
If you are working on a migration or building specific source code, you may also need the matching Clang toolset: sudo yum install llvm-toolset-7-clang Use code with caution. Verifying the Installation
llvm5.0-devel is a meta-package (or distribution-specific package) that includes the C++ headers, libraries, CMake files, and tools necessary to develop pass plugins, code analysis tools, or language frontends using the LLVM 5.0 infrastructure.
On RHEL-based systems (like CentOS 7), LLVM 5.0 is often provided through the or EPEL repositories. You can install it using yum : sudo yum install llvm5.0-devel Use code with caution.
One of the most common tasks with llvm5.0-devel is creating an opt pass. The API differs slightly from modern versions.