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§
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 - Returns whether the CI-found LLVM is currently usable.
- is_
ci_ 🔒llvm_ modified - Returns true if we’re running in CI with modified LLVM (and thus can’t download it)
- prebuilt_
llvm_ config - This returns whether we’ve already previously built LLVM.
- supported_
sanitizers 🔒 - Returns sanitizers available on a given target.