Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

How is llvm split into runtime and runtime libraries?


Asked by Jazmine Roy on Dec 15, 2021 FAQ



LLVM split into runtime libraries (package called llvm) and compile time libraries/headers etc this contains a build of LLVM (package called llvmdev) At compile time the llvmdev and llvm packages are used to build llvmlite and llvmlite’s dynamic libraries are dynamically linked against the libraries in the llvm meta-package.
Subsequently,
In addition to the LLVM tool set, the functionality of LLVM is available through a set of libraries. To use LLVM as a toolkit for constructing tools, a developer needs to understand what is contained in the various libraries, what they depend on, and how to use them.
Also, The primary sub-projects of LLVM are: The LLVM Core libraries provide a modern source- and target-independent optimizer, along with code generation support for many popular CPUs (as well as some less common ones!) These libraries are built around a well specified code representation known as the LLVM intermediate representation ("LLVM IR").
Just so,
The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Despite its name, LLVM has little to do with traditional virtual machines.
In this manner,
The LLVM package is a significant size and may take significant time (magnitude, roughly an hour) and skill to compile depending on the platform. As mentioned above, building LLVM for llvmlite is challenging.