llvm: LLVM collection of compiler and toolchain modules
Overview of package
| Package: | llvm |
|---|---|
| Description: | LLVM collection of compiler and toolchain modules |
| For more information: | https://llvm.org/ |
| Categories: | SoftwareDevelopment |
| License: | OpenSource (Apache 2.0 with LLVM exceptions) |
General Usage
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, though it does provide helpful libraries that can be used to build them.
This module will add clang and related commands to your path.
In case you need to link against this library in your code, the following environmental variables have been defined:
- $LLVM_ROOT has been set to the root of the llvm installation
- $LLVM_LIBDIR points to the directory containing the libraries
- $LLVM_INCDIR points to the directory containing the header files
You will probably wish to use these by adding the following flags to your compilation command (e.g. to CFLAGS in your Makefile):
- -I$LLVM_INCDIR
and the following flags to your link command (e.g. LDFLAGS in your Makefile):
- -L$LLVM_LIBDIR -Wl,-rpath,$LLVM_LIBDIR
Available versions by cluster
This section lists the available versions of the package llvmon the UMD HPC clusters.
Versions available on the Zaratan cluster
| Version | Module tags | CPU(s) optimized for | GPU ready? |
|---|---|---|---|
| 14.0.6 | 14.0.6 | icelake, zen2 | Yes |
| 11.0.1 | 11.0.1 | zen2 | Yes |
| 11.1.0 | 11.1.0 | zen, zen2 | Yes |