Expand description
Compilation of native dependencies like LLVM.
Native projects like LLVM unfortunately arenโt suited just yet for compilation in build scripts that Cargo has. This is because the compilation takes a very long time but also because we donโt want to compile LLVM 3 times as part of a normal bootstrap (we want it cached).
LLVM and compiler-rt are essentially just wired up to everything else to ensure that theyโre always in place if needed.
Structsยง
- Built
Enzyme - Built
OmpOffload - Built
Rust Offload - CcFlags ๐
- Allows each step to add C/Cxx flags which are only used for a specific cmake invocation.
- CrtBegin
End - Enzyme
- File
Check - Returns the path to
FileCheckLLVM binary for the specified target. - LdFlags ๐
- Linker flags to pass to LLVMโs CMake invocation.
- Libunwind
- Lld
- Llvm
- Llvm
Build Info - Llvm
Output - Result of building or downloading LLVM artifacts.
- OmpOffload
- Rust
Offload - Sanitizer
Runtime - Sanitizers
Enumsยง
Constantsยง
- LLVM_
INVALIDATION_ PATHS - Paths whose changes invalidate LLVM downloads.
Functionsยง
- check_
llvm_ ๐version - configure_
cmake ๐ - configure_
llvm ๐ - detect_
llvm_ ๐freshness - Detect whether LLVM sources have been modified locally or not.
- get_
llvm_ ๐profile - get_
llvm_ version - get_
llvm_ version_ major - get_var ๐
- is_
ci_ ๐llvm_ available_ for_ target - Returns whether the CI-found LLVM is currently usable.
- prebuilt_
llvm_ config - This returns whether weโve already previously built LLVM.
- supported_
sanitizers ๐ - Returns sanitizers available on a given target.