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§
- CrtBegin
End - Enzyme
- LdFlags 🔒
- Linker flags to pass to LLVM’s CMake invocation.
- Libunwind
- Lld
- Llvm
- Llvm
Result - Meta
- Sanitizer
Runtime - Sanitizers
Enums§
Constants§
- LLVM_
INVALIDATION_ PATHS - Paths whose changes invalidate LLVM downloads.
Functions§
- check_
llvm_ 🔒version - configure_
cmake 🔒 - configure_
llvm 🔒 - detect_
llvm_ 🔒sha - This retrieves the LLVM sha we want to use, according to git history.
- 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.